diff --git a/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/EmptyLavaHoarderBlockEntity.java b/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/EmptyLavaHoarderBlockEntity.java index e35a28d..e0b7b5d 100644 --- a/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/EmptyLavaHoarderBlockEntity.java +++ b/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/EmptyLavaHoarderBlockEntity.java @@ -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; }