fixed NPC interaction
This commit is contained in:
1 parent
c833f560c1
commit
e66e430d30
2 files changed
+2
-1
No files matched your search
@@ -142,7 +142,7 @@ public class VendorDialogMsg extends ClientNetMsg {
|
||||
if (VendorDialogMsg.handleSpecialCase(msg, npc, playerCharacter, vd, origin))
|
||||
return;
|
||||
}
|
||||
vd = VendorDialog.getVendorDialog(msg.unknown03);
|
||||
//vd = VendorDialog.getVendorDialog(msg.unknown03);
|
||||
msg.updateMessage(3, vd);
|
||||
}
|
||||
|
||||
|
||||
@@ -195,6 +195,7 @@ public class Contract extends AbstractGameObject {
|
||||
}
|
||||
|
||||
public static VendorDialog HandleBaneCommanderOptions(int optionId, NPC npc, PlayerCharacter pc){
|
||||
pc.setLastNPCDialog(null);
|
||||
VendorDialog vd = VendorDialog.getHostileVendorDialog();
|
||||
vd.getOptions().clear();
|
||||
Building building = npc.building;
|
||||
|
||||
Reference in new issue
Block a user