mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-13 02:18:34 +00:00
Use BlockState for player inventory getBlock
This commit is contained in:
@ -60,7 +60,7 @@ public class DefaultBlockParser extends InputParser<BlockStateHolder> {
|
||||
super(worldEdit);
|
||||
}
|
||||
|
||||
private static BaseBlock getBlockInHand(Actor actor, HandSide handSide) throws InputParseException {
|
||||
private static BlockState getBlockInHand(Actor actor, HandSide handSide) throws InputParseException {
|
||||
if (actor instanceof Player) {
|
||||
try {
|
||||
return ((Player) actor).getBlockInHand(handSide);
|
||||
|
Reference in New Issue
Block a user