diff options
author | md_5 <git@md-5.net> | 2016-05-16 16:38:43 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-05-16 16:38:43 +1000 |
commit | 4e19de129580f7e2e9bf10734e09d3dbc3ca9722 (patch) | |
tree | 8358d8995b644f72486163397944c9030b83ccf3 /src/main/java | |
parent | 88123f0569767a296dbd219895bd49a70fc7342d (diff) | |
download | craftbukkit-4e19de129580f7e2e9bf10734e09d3dbc3ca9722.tar craftbukkit-4e19de129580f7e2e9bf10734e09d3dbc3ca9722.tar.gz craftbukkit-4e19de129580f7e2e9bf10734e09d3dbc3ca9722.tar.lz craftbukkit-4e19de129580f7e2e9bf10734e09d3dbc3ca9722.tar.xz craftbukkit-4e19de129580f7e2e9bf10734e09d3dbc3ca9722.zip |
SPIGOT-2285: New CommandBlock types.
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java index 03d8afb9..991afb14 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); |