fix: Fixes disabling BODs (#2402)

This commit is contained in:
Kamron Batman 2026-04-08 08:04:18 -06:00 committed by GitHub
parent 401e38bd97
commit 5b6ea0c3b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -547,7 +547,7 @@ namespace Server.Mobiles
seller.PlaySound(0x0037); // Gold dropping sound
if (SupportsBulkOrders(seller))
if (ContentFeatureFlags.BulkOrders && SupportsBulkOrders(seller))
{
var bulkOrder = CreateBulkOrder(seller, false);
@ -1092,7 +1092,7 @@ namespace Server.Mobiles
var smallBod = dropped as SmallBOD;
var largeBod = dropped as LargeBOD;
if (!(smallBod != null || largeBod != null))
if (!ContentFeatureFlags.BulkOrders || !(smallBod != null || largeBod != null))
{
return base.OnDragDrop(from, dropped);
}
@ -1414,7 +1414,7 @@ namespace Server.Mobiles
{
if (from.Alive && IsActiveVendor)
{
if (SupportsBulkOrders(from))
if (ContentFeatureFlags.BulkOrders && SupportsBulkOrders(from))
{
list.Add(new BulkOrderInfoEntry());
}
@ -1457,7 +1457,7 @@ namespace Server.Mobiles
public override void OnClick(Mobile from, IEntity target)
{
if (target is not BaseVendor vendor || !vendor.SupportsBulkOrders(from))
if (!ContentFeatureFlags.BulkOrders || target is not BaseVendor vendor || !vendor.SupportsBulkOrders(from))
{
return;
}