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
|
|
@ -6,6 +6,7 @@ using Server.Spells.Fourth;
|
|||
using Server.Spells.Necromancy;
|
||||
using Server.Spells.Second;
|
||||
using Server.Targeting;
|
||||
using Server.Utilities;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
|
|
@ -228,7 +229,7 @@ namespace Server.Items
|
|||
|
||||
try
|
||||
{
|
||||
obj = Activator.CreateInstance(type);
|
||||
obj = ActivatorUtil.CreateInstance(type);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
|
@ -260,7 +261,7 @@ namespace Server.Items
|
|||
from.PlaceInBackpack(item);
|
||||
|
||||
if (i + 1 < count)
|
||||
item = Activator.CreateInstance(type) as Item;
|
||||
item = ActivatorUtil.CreateInstance(type) as Item;
|
||||
}
|
||||
|
||||
if (item is Board)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue