SteamWar/BauSystem
Archiviert
13
0

Fix ReducedDebugInfo

Dieser Commit ist enthalten in:
YoyoNow 2020-07-26 23:00:03 +02:00
Ursprung 2858f87e5d
Commit 6b682e666e

Datei anzeigen

@ -10,6 +10,7 @@ import de.steamwar.core.Core;
import de.steamwar.scoreboard.SWScoreboard; import de.steamwar.scoreboard.SWScoreboard;
import de.steamwar.sql.SteamwarUser; import de.steamwar.sql.SteamwarUser;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.GameRule;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.attribute.Attribute; import org.bukkit.attribute.Attribute;
import org.bukkit.configuration.InvalidConfigurationException; import org.bukkit.configuration.InvalidConfigurationException;
@ -268,8 +269,7 @@ public class BauSystem extends JavaPlugin implements Listener {
attachment.setPermission("worldedit.fill", true);*/ attachment.setPermission("worldedit.fill", true);*/
if (Core.getVersion() == 15) ShowManager.add(p); if (Core.getVersion() == 15) ShowManager.add(p);
//Bukkit.getWorlds().get(0).setGameRule(GameRule.REDUCED_DEBUG_INFO, false); Bukkit.getWorlds().get(0).setGameRule(GameRule.REDUCED_DEBUG_INFO, false);
//p.setOp(true);
} }
@EventHandler @EventHandler