From 96ee63d2f442543bb66ba518edf798107c9fe9b0 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 11 Apr 2020 13:18:28 +0200 Subject: [PATCH] Hotfix AutoFreeze with FAWE --- .../src/de/steamwar/bausystem/world/RegionListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/world/RegionListener.java b/BauSystem_Main/src/de/steamwar/bausystem/world/RegionListener.java index 87c7198..2388c6c 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/world/RegionListener.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/world/RegionListener.java @@ -31,7 +31,7 @@ public class RegionListener implements Listener { return; } - if(!CommandFreeze.getInstance().isOn()){ + if(!CommandFreeze.getInstance().isOn() && !Bukkit.getPluginManager().isPluginEnabled("FastAsyncWorldEdit")){ CommandFreeze.getInstance().toggle(); Bukkit.getScheduler().runTaskLater(BauSystem.getPlugin(), CommandFreeze.getInstance()::toggle, 3); }