SteamWar/BauSystem
Archiviert
13
0

Fix 1.12 reduced debug info

Dieser Commit ist enthalten in:
Lixfel 2020-07-27 06:53:08 +02:00
Ursprung 6b682e666e
Commit 81182f5b6f

Datei anzeigen

@ -268,9 +268,11 @@ public class BauSystem extends JavaPlugin implements Listener {
attachment.setPermission("worldedit.calc", true); attachment.setPermission("worldedit.calc", true);
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);
} }
}
@EventHandler @EventHandler
public void onLeave(PlayerQuitEvent e) { public void onLeave(PlayerQuitEvent e) {