Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
1c7f044ab4
Commit
dce3bab522
@ -96,7 +96,11 @@ public class TickCommand extends SWCommand {
|
|||||||
});
|
});
|
||||||
boolean frozen = FreezeUtils.frozen();
|
boolean frozen = FreezeUtils.frozen();
|
||||||
double currentTPSLimit = TPSLimitUtils.currentTPSLimit;
|
double currentTPSLimit = TPSLimitUtils.currentTPSLimit;
|
||||||
TPSLimitUtils.currentTPSLimit = 240;
|
if (ticks > 1000) {
|
||||||
|
TPSLimitUtils.currentTPSLimit = 60;
|
||||||
|
} else {
|
||||||
|
TPSLimitUtils.currentTPSLimit = 240;
|
||||||
|
}
|
||||||
TPSLimitUtils.tpsLimiter();
|
TPSLimitUtils.tpsLimiter();
|
||||||
|
|
||||||
FreezeUtils.unfreeze();
|
FreezeUtils.unfreeze();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren