fix: Fixes PlayerConstructed stacking/BODs (#2579)

### Summary

* Removes player constructed as a requirement for BODs.
* When two items stack and they don't match player constructed flags, the resulting stack loses the flag.
This commit is contained in:
Kamron Batman 2026-08-14 17:14:38 -07:00 • committed by GitHub
parent 2dbaa87377
commit be3a08513f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 48 deletions

View file

@ -137,11 +137,7 @@ public abstract partial class SmallBOD : BaseBOD
{
var material = GetMaterial(armor?.Resource ?? clothing?.Resource ?? CraftResource.None);
if (!item.PlayerConstructed)
{
from.SendLocalizedMessage(1045169); // The item is not in the request.
}
else if (Material >= BulkMaterialType.DullCopper && Material <= BulkMaterialType.Valorite && material != Material)
if (Material >= BulkMaterialType.DullCopper && Material <= BulkMaterialType.Valorite && material != Material)
{
from.SendLocalizedMessage(1045168); // The item is not made from the requested ore.
}