From 6b682e666e33bc520dc0646a210583ad2f6e4a05 Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Sun, 26 Jul 2020 23:00:03 +0200 Subject: [PATCH] Fix ReducedDebugInfo --- BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java b/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java index 6bf0da0..8ef44e7 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java @@ -10,6 +10,7 @@ import de.steamwar.core.Core; import de.steamwar.scoreboard.SWScoreboard; import de.steamwar.sql.SteamwarUser; import org.bukkit.Bukkit; +import org.bukkit.GameRule; import org.bukkit.Material; import org.bukkit.attribute.Attribute; import org.bukkit.configuration.InvalidConfigurationException; @@ -268,8 +269,7 @@ public class BauSystem extends JavaPlugin implements Listener { attachment.setPermission("worldedit.fill", true);*/ if (Core.getVersion() == 15) ShowManager.add(p); - //Bukkit.getWorlds().get(0).setGameRule(GameRule.REDUCED_DEBUG_INFO, false); - //p.setOp(true); + Bukkit.getWorlds().get(0).setGameRule(GameRule.REDUCED_DEBUG_INFO, false); } @EventHandler