fix: Fixes Dice Infinite loop and deserialization of some items (#1360)
### Summary - Fixes deserialization issues with some items. - Changes Utility.Dice to prevent long iteration by passing `(uint)-1`
This commit is contained in:
parent
9b6aa1deed
commit
3097eb4fa7
6 changed files with 14 additions and 11 deletions
|
|
@ -119,8 +119,6 @@ public partial class Runebook : Item, ISecurable, ICraftable
|
|||
|
||||
private void Deserialize(IGenericReader reader, int version)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
_quality = (BookQuality)reader.ReadByte();
|
||||
Timer.DelayCall(crafter => _crafter = crafter?.RawName, reader.ReadEntity<Mobile>());
|
||||
_level = (SecureLevel)reader.ReadInt();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue