Fully qualify mixin target
This commit is contained in:
parent
2c8b7cbb63
commit
ecfb696bc9
|
@ -15,7 +15,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||||
@Mixin(HandledScreen.class)
|
@Mixin(HandledScreen.class)
|
||||||
public class MixinHandledScreen {
|
public class MixinHandledScreen {
|
||||||
|
|
||||||
@Inject(method = "drawSlot(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/screen/slot/Slot;)V", at = @At(value = "INVOKE", target = "enableDepthTest()V"))
|
@Inject(method = "drawSlot(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/screen/slot/Slot;)V", at = @At(value = "INVOKE", target = "Lcom/mojang/blaze3d/systems/RenderSystem;enableDepthTest()V"))
|
||||||
private void drawSlot(MatrixStack matrixStack, Slot slot, CallbackInfo ci) {
|
private void drawSlot(MatrixStack matrixStack, Slot slot, CallbackInfo ci) {
|
||||||
if ((Object)this instanceof TerminalScreen) {
|
if ((Object)this instanceof TerminalScreen) {
|
||||||
TerminalScreen self = (TerminalScreen)(Object)this;
|
TerminalScreen self = (TerminalScreen)(Object)this;
|
||||||
|
|
Loading…
Reference in New Issue