mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-19 21:48:48 +01:00
SPIGOT-2285: New CommandBlock types.
By: md_5 <git@md-5.net>
This commit is contained in:
parent
141be4ba51
commit
3d355b6e64
1 changed files with 2 additions and 0 deletions
|
@ -287,6 +287,8 @@ public class CraftBlock implements Block {
|
||||||
case SKULL:
|
case SKULL:
|
||||||
return new CraftSkull(this);
|
return new CraftSkull(this);
|
||||||
case COMMAND:
|
case COMMAND:
|
||||||
|
case COMMAND_CHAIN:
|
||||||
|
case COMMAND_REPEATING:
|
||||||
return new CraftCommandBlock(this);
|
return new CraftCommandBlock(this);
|
||||||
case BEACON:
|
case BEACON:
|
||||||
return new CraftBeacon(this);
|
return new CraftBeacon(this);
|
||||||
|
|
Loading…
Add table
Reference in a new issue