Skip to content

Commit

Permalink
Fixed MythicMobs mob test predicate
Browse files Browse the repository at this point in the history
  • Loading branch information
0ft3n committed Jun 23, 2023
1 parent 910cdaf commit 795ead5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class CustomEntitiesMythicMobs : CustomEntitiesIntegration {
CustomEntity(
key,
{
val entityId = api.getMythicMobInstance(it)?.type?.entityType?.name ?: return@CustomEntity false
val entityId = api.getMythicMobInstance(it)?.type?.internalName ?: return@CustomEntity false
entityId.equals(id, ignoreCase = true)
},
{
Expand Down

0 comments on commit 795ead5

Please sign in to comment.