mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-30 02:38:34 +01:00
fix Spawner Changer not working with some mobs
This commit is contained in:
parent
30118fbc01
commit
f0713b56ec
1 changed files with 1 additions and 1 deletions
|
@ -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)){
|
||||
|
|
Loading…
Reference in a new issue