From 321e316665cf101f558c4693538eecc1f95c0c6b Mon Sep 17 00:00:00 2001 From: Nedelosk Date: Tue, 18 Oct 2016 22:05:44 +0200 Subject: [PATCH] Fix #1456 Breaking a Swarm Hive with Botania's Bore Lens crashes the game --- src/main/java/forestry/apiculture/blocks/BlockBeeHives.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/forestry/apiculture/blocks/BlockBeeHives.java b/src/main/java/forestry/apiculture/blocks/BlockBeeHives.java index 74225da78..e2fe5262b 100644 --- a/src/main/java/forestry/apiculture/blocks/BlockBeeHives.java +++ b/src/main/java/forestry/apiculture/blocks/BlockBeeHives.java @@ -162,7 +162,7 @@ public class BlockBeeHives extends BlockContainer implements IItemModelRegister, private static List getDropsForHive(int meta) { String hiveName = getHiveNameForMeta(meta); - if (hiveName == null) { + if (hiveName == null || hiveName.equals(HiveType.SWARM.getHiveUid())) { return Collections.emptyList(); } return PluginApiculture.hiveRegistry.getDrops(hiveName);