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
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
using Server.Utilities;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
|
|
@ -94,10 +95,10 @@ namespace Server.Mobiles
|
|||
public virtual IEntity GetEntity()
|
||||
{
|
||||
if (Args == null || Args.Length == 0)
|
||||
return (IEntity)Activator.CreateInstance(Type);
|
||||
return (IEntity)ActivatorUtil.CreateInstance(Type);
|
||||
|
||||
return (IEntity)Activator.CreateInstance(Type, Args);
|
||||
//return (Item)Activator.CreateInstance( m_Type );
|
||||
return (IEntity)ActivatorUtil.CreateInstance(Type, Args);
|
||||
//return (Item)ActivatorUtil.CreateInstance( m_Type );
|
||||
}
|
||||
|
||||
//Attempt to restock with item, (return true if restock successful)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue