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

@ -2,6 +2,7 @@ using System;
using System.Collections.Generic;
using Server.Items;
using Server.Mobiles;
using Server.Utilities;
namespace Server
{
@ -886,7 +887,7 @@ namespace Server
else if (Type == typeof(SummonAirElementalScroll)) // high scroll
item = RandomScroll(2, 8, 8);
else
item = Activator.CreateInstance(Type) as Item;
item = ActivatorUtil.CreateInstance(Type) as Item;
return item;
}
@ -959,4 +960,4 @@ namespace Server
return v;
}
}
}
}