fix: Moves many EventSinks out of core. (#1783)
This commit is contained in:
parent
1cb798d807
commit
00908d030f
45 changed files with 133 additions and 276 deletions
|
|
@ -125,8 +125,6 @@ public abstract partial class BaseDoor : Item, ILockable, ITelekinesisable
|
|||
|
||||
public static void Configure()
|
||||
{
|
||||
EventSink.OpenDoorMacroUsed += EventSink_OpenDoorMacroUsed;
|
||||
|
||||
CommandSystem.Register("Link", AccessLevel.GameMaster, Link_OnCommand);
|
||||
CommandSystem.Register("ChainLink", AccessLevel.GameMaster, ChainLink_OnCommand);
|
||||
}
|
||||
|
|
@ -225,7 +223,7 @@ public abstract partial class BaseDoor : Item, ILockable, ITelekinesisable
|
|||
}
|
||||
}
|
||||
|
||||
private static void EventSink_OpenDoorMacroUsed(Mobile m)
|
||||
public static void OpenDoorMacroUsed(Mobile m)
|
||||
{
|
||||
if (m.Map == null || !m.CheckAlive())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue