parent
096d39609e
commit
8e9221bb5a
400 changed files with 3688 additions and 5969 deletions
|
|
@ -54,7 +54,7 @@ namespace Server.Items
|
|||
{
|
||||
BaseHouse house = BaseHouse.FindHouseAt(from);
|
||||
|
||||
if (house == null || !house.IsOwner(from))
|
||||
if (house?.IsOwner(from) != true)
|
||||
{
|
||||
from.LocalOverheadMessage(MessageType.Regular, 0x3B2, false,
|
||||
"You are not the full owner of this house.");
|
||||
|
|
@ -90,4 +90,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue