Merge remote-tracking branch 'origin/master'
# Conflicts: # BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java
Dieser Commit ist enthalten in:
Commit
ff1e5e06dd
@ -42,10 +42,6 @@ import org.bukkit.inventory.meta.ItemMeta;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
import org.bukkit.scheduler.BukkitTask;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
import java.lang.management.ManagementFactory;
|
||||
import java.util.UUID;
|
||||
import java.util.logging.Level;
|
||||
|
||||
@ -166,6 +162,7 @@ public class BauSystem extends JavaPlugin implements Listener {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
Bukkit.getLogger().log(Level.INFO, "RUN AutoShutdown " + count);
|
||||
if (count >= 300) {
|
||||
Bukkit.shutdown();
|
||||
return;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren