From 81182f5b6f3ec7df75bd22931d347c77adce8285 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Mon, 27 Jul 2020 06:53:08 +0200 Subject: [PATCH] Fix 1.12 reduced debug info --- BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java b/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java index 8ef44e7..9ef1d55 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java @@ -268,8 +268,10 @@ public class BauSystem extends JavaPlugin implements Listener { attachment.setPermission("worldedit.calc", true); attachment.setPermission("worldedit.fill", true);*/ - if (Core.getVersion() == 15) ShowManager.add(p); - Bukkit.getWorlds().get(0).setGameRule(GameRule.REDUCED_DEBUG_INFO, false); + if (Core.getVersion() == 15){ + ShowManager.add(p); + Bukkit.getWorlds().get(0).setGameRule(GameRule.REDUCED_DEBUG_INFO, false); + } } @EventHandler