Update ResetPlayerCommand.java
This commit is contained in:
parent
ec67641c22
commit
6f04292b2a
@ -84,7 +84,7 @@ public class ResetPlayerCommand extends CommandBase<CoreClientManager>
|
||||
{
|
||||
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<CoreClientManager>
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user