-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
None
-
Affects Version/s: None
Using the method Block.getState() on the new types of command blocks doesn't return an instance of org.bukkit.block.CommandBlock.
I believe that the two new types (COMMAND_REPEATING and COMMAND_CHAIN) should be added to switch at CraftBlock.java.
They probably should be declared as Command.class on Material.java as well.