Update ResetPlayerCommand.java

This commit is contained in:
Alexander Meech 2017-09-01 13:22:12 -04:00 committed by cnr
parent ec67641c22
commit 6f04292b2a

View File

@ -84,7 +84,7 @@ public class ResetPlayerCommand extends CommandBase<CoreClientManager>
{ {
Plugin.clearGroups(id.intValue(), success -> 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!")); UtilPlayer.message(caller, F.main(Plugin.getName(), "You have cleared " + F.elem(target + "'s") + " ranks!"));
} }
@ -101,4 +101,4 @@ public class ResetPlayerCommand extends CommandBase<CoreClientManager>
}); });
}); });
} }
} }