Allow "default" as flag, which will add the previously set flags.

This commit is contained in:
asofold 2013-03-13 06:31:09 +01:00
parent 4cbefc0184
commit 555ae62b78

View File

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