handle trainer inventories

This commit is contained in:
2025-02-17 19:30:58 -06:00
parent 4c0b480aeb
commit bb05bdd87c
2 changed files with 21 additions and 6 deletions
@@ -82,6 +82,11 @@ 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;
@@ -147,6 +152,7 @@ public class VendorDialogMsg extends ClientNetMsg {
return;
}
//vd = VendorDialog.getVendorDialog(msg.unknown03);
vd = Contract.trainerDialog(vd);
msg.updateMessage(3, vd);
}