lava hoarder server bugfix
This commit is contained in:
parent
0e52a495a0
commit
4dd73c0e78
@ -34,7 +34,7 @@ public class EmptyLavaHoarderBlockEntity extends BlockEntity implements Tickable
|
||||
private boolean suckLava(World world, BlockPos pos) {
|
||||
if (world == null) {
|
||||
return false;
|
||||
} else if (Blocks.LAVA.getName().equals(world.getBlockState(pos).getBlock().getName())) {
|
||||
} else if (Blocks.LAVA.equals(world.getBlockState(pos).getBlock())) {
|
||||
world.setBlockState(pos, Blocks.AIR.getDefaultState());
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user