From f0713b56ec0021542fed3b91c65149b9ba71d970 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Tue, 27 Dec 2016 11:41:41 +0100 Subject: [PATCH] fix Spawner Changer not working with some mobs --- .../ellpeck/actuallyadditions/mod/items/ItemSpawnerChanger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemSpawnerChanger.java b/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemSpawnerChanger.java index 037c778c6..70889460d 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemSpawnerChanger.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemSpawnerChanger.java @@ -117,7 +117,7 @@ public class ItemSpawnerChanger extends ItemBase{ } if(!(entity instanceof EntityPlayer) && entity.isNonBoss()){ - String entityName = EntityList.getEntityString(entity); + String entityName = EntityList.getEntityStringFromClass(entity.getClass()); if(entityName != null && !entityName.isEmpty()){ for(String name : ConfigStringListValues.SPAWNER_CHANGER_BLACKLIST.getValue()){ if(entityName.equals(name)){