fix: Fixes addons that do not give deeds (#1224)

This commit is contained in:
Kamron Batman 2022-11-02 19:26:51 -07:00 • committed by GitHub
parent fd6f4239e2
commit d0ba94aa83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 40 deletions

View file

@ -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;
}
}
}
}
}