From 5227824608da9c34b3c9a534ccd97e2e8acc7cd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Blinky=E2=84=A2?= Date: Tue, 30 Jun 2015 17:15:13 -0500 Subject: [PATCH] Default to pig spawner, fixes #67 --- Essentials/src/com/earth2me/essentials/ItemDb.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Essentials/src/com/earth2me/essentials/ItemDb.java b/Essentials/src/com/earth2me/essentials/ItemDb.java index 2b8f9d07e..8197234a2 100644 --- a/Essentials/src/com/earth2me/essentials/ItemDb.java +++ b/Essentials/src/com/earth2me/essentials/ItemDb.java @@ -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) {