fix build error (unfinished module)

This commit is contained in:
Bella 2019-12-17 09:00:37 -05:00
parent 2d77ca451a
commit 7a679236b0
2 changed files with 10 additions and 2 deletions

View File

@ -90,9 +90,9 @@ public class MixinGuiScreen {
}
}
//i need perm uwu
@Inject(method = { "Lnet/minecraft/client/gui/GuiScreen;drawWorldBackground(I)V" }, at = { @At("HEAD") }, cancellable = true)
@Inject(method = "Lnet/minecraft/client/gui/GuiScreen;drawWorldBackground(I)V", at = @At("HEAD"), cancellable = true)
private void drawWorldBackgroundWrapper(final int tint, final CallbackInfo ci) {
if (this.mc.world != null && ModuleManager.isModuleEnabled("CleanGUI")) {
if (Minecraft.getMinecraft().world != null && ModuleManager.isModuleEnabled("CleanGUI")) {
ci.cancel();
}
}

View File

@ -0,0 +1,8 @@
package me.zeroeightsix.kami.module.modules.bewwawho.gui;
import me.zeroeightsix.kami.command.Command;
import me.zeroeightsix.kami.module.Module;
@Module.Info(name = "CleanGUI", category = Module.Category.GUI, showOnArray = Module.ShowOnArray.OFF)
public class CleanGUI extends Module {
}