From 6f04292b2aa40b388c60197d397258251032f141 Mon Sep 17 00:00:00 2001 From: Alexander Meech Date: Fri, 1 Sep 2017 13:22:12 -0400 Subject: [PATCH] Update ResetPlayerCommand.java --- .../src/mineplex/core/account/command/ResetPlayerCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/account/command/ResetPlayerCommand.java b/Plugins/Mineplex.Core/src/mineplex/core/account/command/ResetPlayerCommand.java index f77107f66..e10401b7b 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/account/command/ResetPlayerCommand.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/account/command/ResetPlayerCommand.java @@ -84,7 +84,7 @@ public class ResetPlayerCommand extends CommandBase { Plugin.clearGroups(id.intValue(), success -> { - if (success.booleanValue()) + if (success) { UtilPlayer.message(caller, F.main(Plugin.getName(), "You have cleared " + F.elem(target + "'s") + " ranks!")); } @@ -101,4 +101,4 @@ public class ResetPlayerCommand extends CommandBase }); }); } -} \ No newline at end of file +}