Just use instanceof

This commit is contained in:
Jesse Boyd
2019-04-11 02:17:45 +10:00
parent f0d646a9a1
commit 2e1b7676eb
2 changed files with 8 additions and 11 deletions

View File

@ -189,5 +189,9 @@ public class PlayerProxy extends AbstractPlayerActor {
public <B extends BlockStateHolder<B>> void sendFakeBlock(BlockVector3 pos, B block) {
basePlayer.sendFakeBlock(pos, block);
}
public Player getBasePlayer() {
return basePlayer;
}
}