mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
Minor vendor fixes
This commit is contained in:
@@ -736,7 +736,12 @@ public class BazaarService implements INetworkDispatch {
|
||||
|
||||
if(vendor.getTemplate().contains("terminal_bazaar"))
|
||||
auctionItem.setOnBazaar(true);
|
||||
|
||||
else {
|
||||
if(!((long) vendor.getAttachment("vendorOwner") == player.getObjectID())) {
|
||||
auctionItem.setOfferToId((long) vendor.getAttachment("owner"));
|
||||
auctionItem.setStatus(AuctionItem.OFFERED);
|
||||
}
|
||||
}
|
||||
addAuctionItem(auctionItem);
|
||||
|
||||
return auctionItem;
|
||||
|
||||
Reference in New Issue
Block a user