Inventory Tab Fixes

- Super Class now Registers Inventory Tabs
- Side Button Actions now moved to Super Class
- First Pass for Registering Top Tab Values (no offset error)
- Minecraft.getMinecraft() moved to the top level
This commit is contained in:
Kam committed 2024-03-14 15:12:43 -04:00
1 parent e39855ddd3
commit 9d73db3076
7 files changed
+33 -66

No files matched your search

@@ -94,10 +94,10 @@ public class ClientTickHandler{
if(mc.currentScreen == null){
switch (GuiCNPCInventory.activeTab){
case 0:
NoppesUtil.openGUI(mc.thePlayer, new GuiQuestLog(mc.thePlayer));
NoppesUtil.openGUI(mc.thePlayer, new GuiQuestLog());
break;
case 1:
NoppesUtil.openGUI(mc.thePlayer, new GuiParty(mc.thePlayer));
NoppesUtil.openGUI(mc.thePlayer, new GuiParty());
break;
case 2:
NoppesUtil.openGUI(mc.thePlayer, new GuiFaction());