mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 20:56:41 +00:00
Remove stub injector methods
This commit is contained in:
@ -368,12 +368,12 @@ public abstract class AbstractPlayerActor implements Actor, Player, Cloneable {
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseBlock getBlockInHand(HandSide handSide) throws WorldEditException {
|
||||
public BlockState getBlockInHand(HandSide handSide) throws WorldEditException {
|
||||
final ItemType typeId = getItemInHand(handSide).getType();
|
||||
if (typeId.hasBlockType()) {
|
||||
return new BaseBlock(typeId.getBlockType());
|
||||
return typeId.getBlockType().getDefaultState();
|
||||
} else {
|
||||
return new BaseBlock(BlockTypes.AIR);
|
||||
return BlockTypes.AIR.getDefaultState();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -522,7 +522,5 @@ public final class CommandManager {
|
||||
return commandLog;
|
||||
}
|
||||
|
||||
public static Class<?> inject() {
|
||||
return CommandManager.class;
|
||||
}
|
||||
|
||||
}
|
@ -521,8 +521,6 @@ public class PlatformManager {
|
||||
}
|
||||
}
|
||||
|
||||
public static Class<?> inject() {
|
||||
return PlatformManager.class;
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user