Default to pig spawner, fixes #67

This commit is contained in:
Blinky™ 2015-06-30 17:15:13 -05:00
parent 1c78f5cc3b
commit 5227824608

View File

@ -137,6 +137,7 @@ public class ItemDb implements IConf, net.ess3.api.IItemDb {
}
ItemStack retval = new ItemStack(mat);
if (mat == Material.MOB_SPAWNER) {
if (metaData == 0) metaData = 50;
try {
retval = ess.getSpawnerProvider().setEntityType(retval, EntityType.fromId(metaData));
} catch (IllegalArgumentException e) {