fixes [decorate and adds timestamp to world save (#87)
This commit is contained in:
parent
d7f0227268
commit
717e192cf7
65 changed files with 261 additions and 118 deletions
|
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
|||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Regions;
|
||||
using Server.Utilities;
|
||||
|
||||
namespace Server.Engines.Doom
|
||||
{
|
||||
|
|
@ -298,7 +299,7 @@ namespace Server.Engines.Doom
|
|||
if (type == null)
|
||||
return;
|
||||
|
||||
object obj = Activator.CreateInstance(type);
|
||||
object obj = ActivatorUtil.CreateInstance(type);
|
||||
|
||||
if (obj is Item item)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue