mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 10:21:32 +01:00
Better
This commit is contained in:
parent
fba96fa175
commit
146eb502ca
@ -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