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
|
|
@ -8,6 +8,7 @@ using Server.Mobiles;
|
|||
using Server.Multis;
|
||||
using Server.Network;
|
||||
using Server.Regions;
|
||||
using Server.Utilities;
|
||||
|
||||
namespace Server.Misc
|
||||
{
|
||||
|
|
@ -152,7 +153,7 @@ namespace Server.Misc
|
|||
|
||||
try
|
||||
{
|
||||
i = Activator.CreateInstance(
|
||||
i = ActivatorUtil.CreateInstance(
|
||||
m_LesserArtifacts[(int)DropEra - 1][Utility.Random(m_LesserArtifacts[(int)DropEra - 1].Length)])
|
||||
as
|
||||
Item;
|
||||
|
|
@ -528,7 +529,7 @@ namespace Server.Gumps
|
|||
|
||||
try
|
||||
{
|
||||
item = (Item)Activator.CreateInstance(t.Type);
|
||||
item = (Item)ActivatorUtil.CreateInstance(t.Type);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue