Fixed invalid condition

This commit is contained in:
Alex 2016-06-04 20:26:32 +02:00
parent ca5d3a818b
commit 281f60a4ef

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)) {