mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 07:21:32 +01:00
Fix
This commit is contained in:
parent
ba183b0935
commit
8476e99b43
@ -11,7 +11,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
|
||||
@Mixin(GuiAchievement.class)
|
||||
public class GuiAchievementMixin {
|
||||
@Inject(method = "updateAchievementWindow", at = @At("HEAD"))
|
||||
@Inject(method = "updateAchievementWindow", at = @At("HEAD"), cancellable = true)
|
||||
public void removeAchievements(CallbackInfo ci) {
|
||||
if(Client.getInstance().getSettingsManager().getSettingByClass(RenderMod.class, "Disable Achievements").getValBoolean()) {
|
||||
ci.cancel();
|
||||
|
@ -1,7 +1,6 @@
|
||||
package net.silentclient.client.utils;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.silentclient.client.Client;
|
||||
import net.silentclient.client.cosmetics.StaticResourceLocation;
|
||||
import net.silentclient.client.mixin.ducks.EntityRendererExt;
|
||||
|
Loading…
Reference in New Issue
Block a user