mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 08:01:32 +01:00
commit
6a1b2a2570
@ -13,6 +13,7 @@ import net.silentclient.client.mixin.ducks.AbstractClientPlayerExt;
|
|||||||
import net.silentclient.client.mixin.ducks.NetworkPlayerInfoExt;
|
import net.silentclient.client.mixin.ducks.NetworkPlayerInfoExt;
|
||||||
import net.silentclient.client.mods.player.NickHiderMod;
|
import net.silentclient.client.mods.player.NickHiderMod;
|
||||||
import net.silentclient.client.mods.render.AnimationsMod;
|
import net.silentclient.client.mods.render.AnimationsMod;
|
||||||
|
import net.silentclient.client.mods.settings.FPSBoostMod;
|
||||||
import net.silentclient.client.utils.NetworkPlayerInfoOptimization;
|
import net.silentclient.client.utils.NetworkPlayerInfoOptimization;
|
||||||
import org.spongepowered.asm.mixin.Final;
|
import org.spongepowered.asm.mixin.Final;
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
@ -47,7 +48,7 @@ public abstract class NetworkPlayerInfoMixin implements NetworkPlayerInfoExt {
|
|||||||
public void optimizationOfLoadingTexturesEnd(CallbackInfo ci) {
|
public void optimizationOfLoadingTexturesEnd(CallbackInfo ci) {
|
||||||
(new Thread(() -> {
|
(new Thread(() -> {
|
||||||
try {
|
try {
|
||||||
Thread.sleep(1000);
|
Thread.sleep(FPSBoostMod.advancedEnabled() ? 1000 : 100);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user