Merge pull request #5 from Silent-Client/TEST2

Better
This commit is contained in:
kirillsaint 2023-07-27 14:57:43 +06:00 committed by GitHub
commit 6a1b2a2570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ import net.silentclient.client.mixin.ducks.AbstractClientPlayerExt;
import net.silentclient.client.mixin.ducks.NetworkPlayerInfoExt;
import net.silentclient.client.mods.player.NickHiderMod;
import net.silentclient.client.mods.render.AnimationsMod;
import net.silentclient.client.mods.settings.FPSBoostMod;
import net.silentclient.client.utils.NetworkPlayerInfoOptimization;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
@ -47,7 +48,7 @@ public abstract class NetworkPlayerInfoMixin implements NetworkPlayerInfoExt {
public void optimizationOfLoadingTexturesEnd(CallbackInfo ci) {
(new Thread(() -> {
try {
Thread.sleep(1000);
Thread.sleep(FPSBoostMod.advancedEnabled() ? 1000 : 100);
} catch (InterruptedException e) {
}