Update AutoShutdownListener
Dieser Commit ist enthalten in:
Ursprung
416eeb02de
Commit
c081180157
@ -69,6 +69,9 @@ public class AutoShutdownListener implements Listener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
count++;
|
count++;
|
||||||
|
if (count <= 120) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
if (RamUsage.getUsage() > 0.8) {
|
if (RamUsage.getUsage() > 0.8) {
|
||||||
Bukkit.shutdown();
|
Bukkit.shutdown();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren