opps wrong way around.

This commit is contained in:
Madpeter 2022-02-10 07:22:24 +00:00
parent cfaa72b2a9
commit 94d236fa50

View file

@ -462,7 +462,7 @@ namespace BetterSecondBot.HttpService
return Failure("Parcel sale locked to other avatars", "ParcelBuy", new[] { amount }); return Failure("Parcel sale locked to other avatars", "ParcelBuy", new[] { amount });
} }
int minAmount = 1; int minAmount = 1;
if (targetparcel.AuthBuyerID != bot.GetClient.Self.AgentID) if (targetparcel.AuthBuyerID == bot.GetClient.Self.AgentID)
{ {
minAmount = 0; minAmount = 0;
} }