From 5dc9e127bbf713082377e1a6f0addfaf133489f3 Mon Sep 17 00:00:00 2001
From: FatBoy-DOTC <justin.chucksinsulating@gmail.com>
Date: Mon, 17 Feb 2025 20:11:48 -0600
Subject: [PATCH] undo

---
 src/engine/net/client/msg/VendorDialogMsg.java |  6 ------
 src/engine/objects/Contract.java               | 17 -----------------
 2 files changed, 23 deletions(-)

diff --git a/src/engine/net/client/msg/VendorDialogMsg.java b/src/engine/net/client/msg/VendorDialogMsg.java
index 7053a90d..3fcb2b83 100644
--- a/src/engine/net/client/msg/VendorDialogMsg.java
+++ b/src/engine/net/client/msg/VendorDialogMsg.java
@@ -82,11 +82,6 @@ public class VendorDialogMsg extends ClientNetMsg {
             return;
         }
 
-        if(msg.getUnknown03() == 19991999){
-            Contract.handleTrainerInventoryWindow(playerCharacter,msg);
-            return;
-        }
-
         // Get NPC that player is talking to
         NPC npc = NPC.getFromCache(msg.vendorObjectID);
         int npcClassID;
@@ -152,7 +147,6 @@ public class VendorDialogMsg extends ClientNetMsg {
                 return;
         }
             //vd = VendorDialog.getVendorDialog(msg.unknown03);
-            vd = Contract.trainerDialog(vd);
             msg.updateMessage(3, vd);
         }
 
diff --git a/src/engine/objects/Contract.java b/src/engine/objects/Contract.java
index c9c7723b..3172b27c 100644
--- a/src/engine/objects/Contract.java
+++ b/src/engine/objects/Contract.java
@@ -330,23 +330,6 @@ public class Contract extends AbstractGameObject {
             return true;
         return false;
     }
-
-    public static void handleTrainerInventoryWindow(PlayerCharacter pc, VendorDialogMsg msg){
-
-    }
-    public static VendorDialog trainerDialog(VendorDialog vd) {
-
-        VendorDialog returnedVD = new VendorDialog(vd.getDialogType(), vd.getIntro(), 19991999);
-        returnedVD.options = new ArrayList<>();
-        for (MenuOption mo : vd.options)
-            returnedVD.options.add(mo);
-        if (isClassTrainer(vd.getObjectUUID())) {
-            MenuOption option1 = new MenuOption(19991999, "Buy", 19991999);
-            returnedVD.options.add(option1);
-        }
-        return returnedVD;
-    }
-
     public static VendorDialog HandleBaneCommanderOptions(int optionId, NPC npc, PlayerCharacter pc){
         pc.setLastNPCDialog(npc);
         VendorDialog vd = new VendorDialog(VendorDialog.getHostileVendorDialog().getDialogType(),VendorDialog.getHostileVendorDialog().getIntro(),-1);//VendorDialog.getHostileVendorDialog();