fix: Adds CanSeeStaffOnly for staff only items (#739)
This commit is contained in:
parent
862e868cf0
commit
3bfd5c4d3e
4 changed files with 15 additions and 19 deletions
|
|
@ -308,12 +308,13 @@ namespace Server.Engines.Spawners
|
|||
DoTimer(TimeSpan.FromSeconds(1));
|
||||
}
|
||||
|
||||
public override bool CanSeeStaffOnly(Mobile from) => from.AccessLevel >= AccessLevel.Developer;
|
||||
|
||||
public override bool IsAccessibleTo(Mobile from) => from.AccessLevel >= AccessLevel.Developer;
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (from.AccessLevel >= AccessLevel.Developer)
|
||||
{
|
||||
from.SendGump(new SpawnerGump(this));
|
||||
}
|
||||
from.SendGump(new SpawnerGump(this));
|
||||
}
|
||||
|
||||
public virtual void GetSpawnerProperties(ObjectPropertyList list)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue