mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-07 04:28:00 +02:00
Allow "default" as flag, which will add the previously set flags.
This commit is contained in:
parent
4cbefc0184
commit
555ae62b78
@ -1455,6 +1455,10 @@ public class BlockProperties {
|
||||
for (String input : split){
|
||||
input = input.trim();
|
||||
if (input.isEmpty()) continue;
|
||||
else if (input.equalsIgnoreCase("default")){
|
||||
flags |= blockFlags[id];
|
||||
continue;
|
||||
}
|
||||
try{
|
||||
flags |= parseFlag(input);
|
||||
} catch(InputMismatchException e){
|
||||
|
Loading…
Reference in New Issue
Block a user