fixed NPC interaction
This commit is contained in:
@@ -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