From b683026cf36b0c75509d2eed1ff2c4003c642414 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Mon, 1 Aug 2022 21:14:28 +0200 Subject: [PATCH] Owner should also be able to buy items from the xp shop --- src/NadekoBot/Modules/Xp/XpService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Xp/XpService.cs b/src/NadekoBot/Modules/Xp/XpService.cs index 0a87bc7b0..4fa126a62 100644 --- a/src/NadekoBot/Modules/Xp/XpService.cs +++ b/src/NadekoBot/Modules/Xp/XpService.cs @@ -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);