Skip to content

Commit

Permalink
fix EntityTag valueOf fake
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Dec 17, 2020
1 parent 8b0f29a commit 4ed7581
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -196,7 +196,7 @@ public static EntityTag valueOf(String string, TagContext context) {
}
if (string.startsWith("e@fake:")) {
try {
UUID entityID = UUID.fromString(string);
UUID entityID = UUID.fromString(string.substring("e@fake:".length()));
FakeEntity entity = FakeEntity.idsToEntities.get(entityID);
if (entity != null) {
return entity.entity;
Expand Down

0 comments on commit 4ed7581

Please sign in to comment.