mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
Owner should also be able to buy items from the xp shop
This commit is contained in:
@@ -1351,7 +1351,7 @@ public class XpService : INService, IReadyExecutor, IExecNoCommand
|
||||
if (!conf.Shop.IsEnabled)
|
||||
return BuyResult.UnknownItem;
|
||||
|
||||
if (conf.Shop.TierRequirement != PatronTier.None)
|
||||
if (conf.Shop.TierRequirement != PatronTier.None && !_creds.IsOwner(userId))
|
||||
{
|
||||
var patron = await _ps.GetPatronAsync(userId);
|
||||
|
||||
|
Reference in New Issue
Block a user