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
|
|
@ -35,11 +35,6 @@ public partial class Bandage : Item, IDyable
|
|||
return true;
|
||||
}
|
||||
|
||||
public static void Initialize()
|
||||
{
|
||||
EventSink.BandageTargetRequest += EventSink_BandageTargetRequest;
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (from.InRange(GetWorldLocation(), Range))
|
||||
|
|
@ -56,7 +51,7 @@ public partial class Bandage : Item, IDyable
|
|||
}
|
||||
}
|
||||
|
||||
private static void EventSink_BandageTargetRequest(Mobile from, Item item, Mobile target)
|
||||
public static void BandageTargetRequest(Mobile from, Item item, Mobile target)
|
||||
{
|
||||
if (item is not Bandage b || b.Deleted)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue