diff options
Diffstat (limited to 'src/main')
3 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java index 0c685e44..3bc313cb 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java @@ -103,6 +103,8 @@ public final class CraftItemFactory implements ItemFactory { case BREWING_STAND_ITEM: case ENCHANTMENT_TABLE: case COMMAND: + case COMMAND_REPEATING: + case COMMAND_CHAIN: case BEACON: case DAYLIGHT_DETECTOR: case DAYLIGHT_DETECTOR_INVERTED: diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java index b120a7ed..8b6fd4ff 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java @@ -365,6 +365,8 @@ public final class CraftItemStack extends ItemStack { case BREWING_STAND_ITEM: case ENCHANTMENT_TABLE: case COMMAND: + case COMMAND_REPEATING: + case COMMAND_CHAIN: case BEACON: case DAYLIGHT_DETECTOR: case DAYLIGHT_DETECTOR_INVERTED: diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBlockState.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBlockState.java index 4f1415b7..b57b6e9d 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBlockState.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBlockState.java @@ -166,6 +166,8 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta case BREWING_STAND_ITEM: case ENCHANTMENT_TABLE: case COMMAND: + case COMMAND_REPEATING: + case COMMAND_CHAIN: case BEACON: case DAYLIGHT_DETECTOR: case DAYLIGHT_DETECTOR_INVERTED: @@ -248,6 +250,8 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta } return new CraftSkull(material, (TileEntitySkull) te); case COMMAND: + case COMMAND_REPEATING: + case COMMAND_CHAIN: if (te == null) { te = new TileEntityCommand(); } @@ -316,6 +320,8 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta valid = te instanceof TileEntitySkull; break; case COMMAND: + case COMMAND_REPEATING: + case COMMAND_CHAIN: valid = te instanceof TileEntityCommand; break; case BEACON: |