(remove) radmir mod

This commit is contained in:
kirillsaint 2024-02-05 14:13:53 +06:00
parent 30b2f27796
commit 81feece89e
2 changed files with 1 additions and 6 deletions

View File

@ -12,7 +12,6 @@ import net.minecraft.util.ResourceLocation;
import net.silentclient.client.Client;
import net.silentclient.client.cosmetics.StaticResourceLocation;
import net.silentclient.client.mixin.ducks.TextureManagerExt;
import net.silentclient.client.mods.staff.RadmirMod;
import net.silentclient.client.utils.ColorUtils;
import org.lwjgl.opengl.GL11;
@ -184,14 +183,12 @@ public class RenderUtil {
OpenGlHelper.glBlendFunc((int) 770, (int) 771, (int) 1, (int) 0);
GL11.glColor4f((float) 1.0f, (float) 1.0f, (float) 1.0f, 1f);
ColorUtils.setColor(color);
if(image != null && !Client.getInstance().getModInstances().getModByClass(RadmirMod.class).isEnabled()) {
if(image != null) {
if(mip) {
Client.getInstance().getTextureManager().bindTextureMipmapped(image);
} else {
Minecraft.getMinecraft().getTextureManager().bindTexture(image);
}
} else {
Client.getInstance().getTextureManager().bindTextureMipmapped(new ResourceLocation("silentclient/mods/radmir/radmir.png"));
}
drawModalRectWithCustomSizedTexture(x, y, 0.0f, 0.0f, width, height, width, height);
GL11.glDepthMask((boolean) true);

View File

@ -182,7 +182,6 @@ public class ModInstances {
mods.add(new DebugNpcMod());
mods.add(new HitDelayFixMod());
mods.add(new FPSSpoofer());
mods.add(new RadmirMod());
}
mods.add(new NewMotionBlurMod());
if(Client.getInstance().getAccount().getUsername().equalsIgnoreCase("fushka")) {
@ -190,7 +189,6 @@ public class ModInstances {
}
mods.add(new QuickPlayMod());
mods.add(new SoundsMod());
// mods.add(new ItemSizeMod());
}
public void postInit() {