From 58144b135e98454a0a1eccb769a111c2a9e2fddf Mon Sep 17 00:00:00 2001 From: A248 Date: Mon, 17 Feb 2020 12:44:04 -0500 Subject: [PATCH] Fix calls to PunishmentType#getConfSection(String) --- src/main/java/me/leoko/advancedban/utils/Command.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/me/leoko/advancedban/utils/Command.java b/src/main/java/me/leoko/advancedban/utils/Command.java index 35f987fb..69353a5c 100644 --- a/src/main/java/me/leoko/advancedban/utils/Command.java +++ b/src/main/java/me/leoko/advancedban/utils/Command.java @@ -88,13 +88,13 @@ public enum Command { UN_BAN("ab." + PunishmentType.BAN.getName() + ".undo", "\\S+", new RevokeProcessor(PunishmentType.BAN), - "Un" + PunishmentType.BAN.getConfSection(".Usage"), + "Un" + PunishmentType.BAN.getConfSection("Usage"), "unban"), UN_MUTE("ab." + PunishmentType.MUTE.getName() + ".undo", "\\S+", new RevokeProcessor(PunishmentType.MUTE), - "Un" + PunishmentType.MUTE.getConfSection(".Usage"), + "Un" + PunishmentType.MUTE.getConfSection("Usage"), "unmute"), UN_WARN("ab." + PunishmentType.WARNING.getName() + ".undo", @@ -125,7 +125,7 @@ public enum Command { new RevokeByIdProcessor("Un" + confSection, PunishmentManager.get()::getWarn).accept(input); } }, - "Un" + PunishmentType.WARNING.getConfSection(".Usage"), + "Un" + PunishmentType.WARNING.getConfSection("Usage"), "unwarn"), UN_PUNISH("ab.all.undo",