diff --git a/common/biomesoplenty/blocks/BlockHive.java b/common/biomesoplenty/blocks/BlockHive.java index 1ed7fc629..6c6608dd2 100644 --- a/common/biomesoplenty/blocks/BlockHive.java +++ b/common/biomesoplenty/blocks/BlockHive.java @@ -51,6 +51,9 @@ public class BlockHive extends Block @Override public Icon getIcon(int side, int meta) { + if (meta < 0 || meta >= hiveTypes.length) { + meta = 0; + } return textures[meta]; }