Don't poll the current time more than once a second for updates.
Dieser Commit ist enthalten in:
Ursprung
3257d6069a
Commit
3b26940385
@ -547,7 +547,7 @@ public class ProtocolLibrary extends JavaPlugin {
|
|||||||
updateConfiguration();
|
updateConfiguration();
|
||||||
|
|
||||||
// Check for updates too
|
// Check for updates too
|
||||||
if (!UPDATES_DISABLED) {
|
if (!UPDATES_DISABLED && (tickCounter % 20) == 0) {
|
||||||
checkUpdates();
|
checkUpdates();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren