mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-14 06:11: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)
|
@Mixin(GuiAchievement.class)
|
||||||
public class GuiAchievementMixin {
|
public class GuiAchievementMixin {
|
||||||
@Inject(method = "updateAchievementWindow", at = @At("HEAD"))
|
@Inject(method = "updateAchievementWindow", at = @At("HEAD"), cancellable = true)
|
||||||
public void removeAchievements(CallbackInfo ci) {
|
public void removeAchievements(CallbackInfo ci) {
|
||||||
if(Client.getInstance().getSettingsManager().getSettingByClass(RenderMod.class, "Disable Achievements").getValBoolean()) {
|
if(Client.getInstance().getSettingsManager().getSettingByClass(RenderMod.class, "Disable Achievements").getValBoolean()) {
|
||||||
ci.cancel();
|
ci.cancel();
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
package net.silentclient.client.utils;
|
package net.silentclient.client.utils;
|
||||||
|
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.util.ResourceLocation;
|
|
||||||
import net.silentclient.client.Client;
|
import net.silentclient.client.Client;
|
||||||
import net.silentclient.client.cosmetics.StaticResourceLocation;
|
import net.silentclient.client.cosmetics.StaticResourceLocation;
|
||||||
import net.silentclient.client.mixin.ducks.EntityRendererExt;
|
import net.silentclient.client.mixin.ducks.EntityRendererExt;
|
||||||
|
Loading…
Reference in New Issue
Block a user