fix: Fixes crafter deserialize, cleans up bandages, and codegens misc items (#1350)
This commit is contained in:
parent
22376cfc20
commit
42012538bc
177 changed files with 994 additions and 1262 deletions
|
|
@ -227,7 +227,7 @@ public partial class TrophyAddon : Item, IAddon
|
|||
|
||||
private void Deserialize(IGenericReader reader, int version)
|
||||
{
|
||||
_hunter = reader.ReadEntity<Mobile>()?.RawName;
|
||||
Timer.DelayCall((item, crafter) => item._hunter = crafter?.RawName, this, reader.ReadEntity<Mobile>());
|
||||
_animalWeight = reader.ReadInt();
|
||||
_westId = reader.ReadInt();
|
||||
_northId = reader.ReadInt();
|
||||
|
|
@ -355,7 +355,7 @@ public partial class TrophyDeed : Item
|
|||
|
||||
private void Deserialize(IGenericReader reader, int version)
|
||||
{
|
||||
_hunter = reader.ReadEntity<Mobile>()?.RawName;
|
||||
Timer.DelayCall((item, crafter) => item._hunter = crafter?.RawName, this, reader.ReadEntity<Mobile>());
|
||||
_animalWeight = reader.ReadInt();
|
||||
_westId = reader.ReadInt();
|
||||
_northId = reader.ReadInt();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue