fix: Fixes addons that do not give deeds (#1224)
This commit is contained in:
parent
fd6f4239e2
commit
d0ba94aa83
6 changed files with 10 additions and 40 deletions
|
|
@ -39,19 +39,5 @@ namespace Server.Items
|
|||
Hue = hue,
|
||||
Name = "jack-o-lantern"
|
||||
};
|
||||
|
||||
private void Deserialize(IGenericReader reader, int version)
|
||||
{
|
||||
for (var i = 0; i < Components.Count; ++i)
|
||||
{
|
||||
var ac = Components[i];
|
||||
ac.Name = "jack-o-lantern";
|
||||
|
||||
if (ac.Hue == 2118)
|
||||
{
|
||||
ac.Hue = 1161;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue