From 40346b5c7eb96694d0ee2819664f225929f22bb0 Mon Sep 17 00:00:00 2001 From: JustBru00 Date: Fri, 24 May 2024 21:53:17 -0400 Subject: [PATCH] Fixes issue with fix for #195 --- .../gmail/justbru00/epic/rename/utils/v3/EconomyManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/gmail/justbru00/epic/rename/utils/v3/EconomyManager.java b/src/com/gmail/justbru00/epic/rename/utils/v3/EconomyManager.java index caddd2f..de9cd9d 100644 --- a/src/com/gmail/justbru00/epic/rename/utils/v3/EconomyManager.java +++ b/src/com/gmail/justbru00/epic/rename/utils/v3/EconomyManager.java @@ -28,7 +28,9 @@ public static EcoMessage takeMoney(Player player, EpicRenameCommands erc){ } if (player.hasPermission("epicrename.bypass.costs.*")) { - Messager.msgPlayer(Main.getMsgFromConfig("economy.bypass"), player); + if (!Main.getBooleanFromConfig("disable_bypass_messages")) { // Issue #195 + Messager.msgPlayer(Main.getMsgFromConfig("economy.bypass"), player); + } return EcoMessage.ECO_BYPASS; }