Fixed the spawner changer sometimes keeping old mob data

Closes #274
This commit is contained in:
Ellpeck 2016-10-19 16:09:50 +02:00
parent f1eebaadf3
commit 7682e3a467
2 changed files with 1 additions and 1 deletions

View file

@ -72,6 +72,7 @@ public class ItemSpawnerChanger extends ItemBase{
NBTTagCompound compound = new NBTTagCompound();
logic.writeToNBT(compound);
compound.removeTag("SpawnPotentials");
compound.removeTag("SpawnData");
logic.readFromNBT(compound);
logic.setEntityName(entity);

View file

@ -96,7 +96,6 @@ public final class CrusherRecipeRegistry{
}
if(reg.equals(confReg) && output.getItemDamage() == meta){
System.out.println("Blacklisting "+output);
return true;
}
}