From 3d355b6e64768edbdd8fc2b77d7f14b998024c37 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Mon, 16 May 2016 16:38:43 +1000 Subject: [PATCH] SPIGOT-2285: New CommandBlock types. By: md_5 --- .../src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java b/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java index 03d8afb96d..991afb14e3 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java +++ b/paper-server/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);