Fixes chaos damage bug with the spell system. Fixes various small other bugs. Fixes more merge cast type checks and uses default values.
This commit is contained in:
parent
9542c79ea4
commit
c155c82325
115 changed files with 644 additions and 1041 deletions
|
|
@ -26,9 +26,7 @@ namespace Server.Misc
|
|||
|
||||
private static void EventSink_Login(LoginEventArgs e)
|
||||
{
|
||||
Account acct = e.Mobile.Account as Account;
|
||||
|
||||
if (acct == null)
|
||||
if (!(e.Mobile.Account is Account acct))
|
||||
return;
|
||||
|
||||
DateTime now = DateTime.UtcNow;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue