This commit is contained in:
kirillsaint 2023-07-27 14:57:22 +06:00
parent fba96fa175
commit 146eb502ca

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) {
}