From 4e19de129580f7e2e9bf10734e09d3dbc3ca9722 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 16 May 2016 16:38:43 +1000 Subject: [PATCH] SPIGOT-2285: New CommandBlock types. --- src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java index 03d8afb96d..991afb14e3 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java +++ b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java @@ -287,6 +287,8 @@ public class CraftBlock implements Block { case SKULL: return new CraftSkull(this); case COMMAND: + case COMMAND_CHAIN: + case COMMAND_REPEATING: return new CraftCommandBlock(this); case BEACON: return new CraftBeacon(this);