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
|
|
@ -83,11 +83,6 @@ namespace Server.Misc
|
|||
new(1240, 1003)
|
||||
};
|
||||
|
||||
public static void Initialize()
|
||||
{
|
||||
EventSink.Login += EventSink_Login;
|
||||
}
|
||||
|
||||
private static bool IsStranded(Mobile from)
|
||||
{
|
||||
var map = from.Map;
|
||||
|
|
@ -117,7 +112,7 @@ namespace Server.Misc
|
|||
return false;
|
||||
}
|
||||
|
||||
public static void EventSink_Login(Mobile from)
|
||||
public static void OnLogin(Mobile from)
|
||||
{
|
||||
if (!IsStranded(from))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue