Skip to content

Commit

Permalink
fix obscure edge-case of EntityTag identify
Browse files Browse the repository at this point in the history
mechs don't belong in the string if uuid is included
  • Loading branch information
mcmonkey4eva committed Apr 17, 2023
1 parent 0399837 commit 1c85503
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -1134,10 +1134,10 @@ public String identify(Supplier<String> mechsHandler) {
return getDenizenPlayer().identify();
}
if (entityScript != null) {
return "e@" + getUUID() + "/" + entityScript + mechsHandler.get();
return "e@" + getUUID() + "/" + entityScript;
}
if (entity_type != null) {
return "e@" + getUUID() + "/" + entity_type.getLowercaseName() + mechsHandler.get();
return "e@" + getUUID() + "/" + entity_type.getLowercaseName();
}
}
if (entityScript != null) {
Expand Down

0 comments on commit 1c85503

Please sign in to comment.