Don't send message to players when we can't update shop window
This commit is contained in:
parent
9f7a0d0e53
commit
8838ca9b2b
@ -12577,7 +12577,6 @@ void Client::SetItemSaleStatus(int64 unique_id, bool status) {
|
||||
|
||||
void Client::OpenShopWindow(Spawn* interaction, bool sendAlways, int8 saleLogOnly) {
|
||||
if (GetCurrentZone()->GetInstanceType() == PERSONAL_HOUSE_INSTANCE && !HasOwnerOrEditAccess()) {
|
||||
SimpleMessage(CHANNEL_COLOR_RED, "This is not your home!");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user