Merge pull request #1157 from MisterErwin/master

Fixed invalid condition
This commit is contained in:
Jesse Boyd 2016-06-05 04:34:47 +10:00
commit 17ff6a7e1d

View File

@ -67,7 +67,7 @@ public class Remove extends SubCommand {
}
default:
Set<UUID> uuids = MainUtil.getUUIDsFromString(args[0]);
if (uuids.isEmpty()) {
if (!uuids.isEmpty()) {
for (UUID uuid : uuids) {
if (plot.getTrusted().contains(uuid)) {
if (plot.removeTrusted(uuid)) {