geforkt von Mirrors/FastAsyncWorldEdit
Only add backupregions if whitelisting
Dieser Commit ist enthalten in:
Ursprung
4e6aee6bfb
Commit
f7e94fd450
@ -147,12 +147,14 @@ public class WEManager {
|
|||||||
player.printError(TextComponent.of("Missing permission " + "fawe." + manager.getKey()));
|
player.printError(TextComponent.of("Missing permission " + "fawe." + manager.getKey()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (isWhitelist) {
|
||||||
regions.addAll(backupRegions);
|
regions.addAll(backupRegions);
|
||||||
if (!masks.isEmpty() && isWhitelist) {
|
if (!masks.isEmpty()) {
|
||||||
player.setMeta("lastMask", masks);
|
player.setMeta("lastMask", masks);
|
||||||
} else if (isWhitelist) {
|
} else {
|
||||||
player.deleteMeta("lastMask");
|
player.deleteMeta("lastMask");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return regions.toArray(new Region[0]);
|
return regions.toArray(new Region[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren