mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 21:19:00 +01:00
SPIGOT-2285: New CommandBlock types.
This commit is contained in:
parent
88123f0569
commit
4e19de1295
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user