From c09d1a9ba3816607971d5a1e0d0735bfce639166 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 18 Sep 2022 15:02:45 +0200 Subject: [PATCH] Hotfix FreezeListener Signed-off-by: yoyosource --- .../de/steamwar/bausystem/features/region/FreezeListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/region/FreezeListener.java b/BauSystem_Main/src/de/steamwar/bausystem/features/region/FreezeListener.java index cd1c5332..8112cb3e 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/region/FreezeListener.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/region/FreezeListener.java @@ -111,7 +111,7 @@ public class FreezeListener implements Listener { if (Region.getRegion(e.getBlock().getLocation()).get(Flag.FREEZE) == FreezeMode.ACTIVE) { if (e.isCancelled()) return; e.setCancelled(true); - e.getBlock().setType(e.getBlock().getType(), false); + e.getBlock().setType(Material.AIR, false); } }