summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2016-11-19 21:11:54 +1100
committermd_5 <git@md-5.net>2016-11-19 21:11:54 +1100
commit0f7c3859417b0a281749a2beb946a6c0defa1785 (patch)
tree14ef8d759a5ce71098ac8574f4ed93421d753c34 /src/main
parent092243c35d6b7a8743d4b7f3eedc821e46b79e3f (diff)
downloadcraftbukkit-0f7c3859417b0a281749a2beb946a6c0defa1785.tar
craftbukkit-0f7c3859417b0a281749a2beb946a6c0defa1785.tar.gz
craftbukkit-0f7c3859417b0a281749a2beb946a6c0defa1785.tar.lz
craftbukkit-0f7c3859417b0a281749a2beb946a6c0defa1785.tar.xz
craftbukkit-0f7c3859417b0a281749a2beb946a6c0defa1785.zip
SPIGOT-2801: Missing break in CraftMetaBlockState
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBlockState.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBlockState.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBlockState.java
index 4b363c12..ada5301d 100644
--- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBlockState.java
+++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBlockState.java
@@ -443,6 +443,7 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta
case RED_SHULKER_BOX:
case BLACK_SHULKER_BOX:
valid = te instanceof TileEntityShulkerBox;
+ break;
default:
valid = false;
break;