Fixed refmap issue

This commit is contained in:
Goodbird committed 2024-01-24 23:56:26 +03:00
1 parent 93e06a0cef
commit e2777528c8
2 files changed
+3 -3

No files matched your search

@@ -31,7 +31,7 @@ public class MixinGuiCreationScreen extends GuiModelInterface {
}
}
@Inject(method = "actionPerformed", at = @At("TAIL"), remap = false)
@Inject(method = "actionPerformed", at = @At("TAIL"))
protected void actionPerformed(GuiButton btn, CallbackInfo ci) {
GuiNpcButton button = (GuiNpcButton) btn;
if(button.id == 202){
@@ -19,7 +19,7 @@ public abstract class MixinGuiNpcDisplay extends GuiNPCInterface2 {
super(null);
}
@Inject(method = "initGui", at = @At("TAIL"), remap = false)
@Inject(method = "initGui", at = @At("TAIL"))
public void initGui(CallbackInfo ci){
int y = 319;
addLabel(new GuiNpcLabel(212,"Model Animation", guiLeft + 185, y + 5));
@@ -31,7 +31,7 @@ public abstract class MixinGuiNpcDisplay extends GuiNPCInterface2 {
}
}
@Inject(method = "actionPerformed", at = @At("TAIL"), remap = false)
@Inject(method = "actionPerformed", at = @At("TAIL"))
public void actionPerformed(GuiButton guibutton, CallbackInfo ci){
GuiNpcButton button = (GuiNpcButton) guibutton;
if(button.id == 212){