From 4dd73c0e788b5fdc8a6e616c6420a3ec3b787e38 Mon Sep 17 00:00:00 2001 From: jottyfan Date: Sun, 1 Nov 2020 21:46:26 +0100 Subject: [PATCH] lava hoarder server bugfix --- .../quickiefabric/blockentity/EmptyLavaHoarderBlockEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }