Add back the getEntity Stuff since it seems to work fine

This commit is contained in:
Aurora
2020-07-01 19:28:38 +02:00
parent 8b3479d477
commit 34298f7dee
4 changed files with 14 additions and 3 deletions

View File

@ -89,7 +89,7 @@ public class BukkitEntity implements Entity {
@Override
public com.sk89q.worldedit.world.entity.EntityType getType() {
return EntityTypes.get(type.getName().toUpperCase(Locale.ROOT));
return EntityTypes.get(type.getName().toLowerCase(Locale.ROOT));
}
@Override