fixes [decorate and adds timestamp to world save (#87)

This commit is contained in:
Andrew Fryer 2020-02-19 20:37:12 -05:00 committed by GitHub
parent d7f0227268
commit 717e192cf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
65 changed files with 261 additions and 118 deletions

View file

@ -1,3 +1,4 @@
using Server.Utilities;
using System;
using System.Collections.Generic;
@ -83,7 +84,7 @@ namespace Server.Spells
try
{
spm = Activator.CreateInstance(type) as SpecialMove;
spm = ActivatorUtil.CreateInstance(type) as SpecialMove;
}
catch
{
@ -123,7 +124,7 @@ namespace Server.Spells
try
{
return (Spell)Activator.CreateInstance(t, m_Params);
return (Spell)ActivatorUtil.CreateInstance(t, m_Params);
}
catch
{
@ -147,7 +148,7 @@ namespace Server.Spells
try
{
return (Spell)Activator.CreateInstance(t, m_Params);
return (Spell)ActivatorUtil.CreateInstance(t, m_Params);
}
catch
{