mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-03 19:00:30 +02:00
Remove the old snow-level flag for leveled snow.
This commit is contained in:
parent
a789b9286d
commit
1eb7dbacf1
|
@ -71,6 +71,7 @@ public class BlocksMC1_5 implements BlockPropertiesSetup {
|
|||
|
||||
// 78 Snow
|
||||
addFlags(78, BlockProperties.F_HEIGHT_8_INC);
|
||||
removeFlags(78, BlockProperties.F_HEIGHT_8SIM_INC);
|
||||
|
||||
}
|
||||
|
||||
|
@ -86,5 +87,9 @@ public class BlocksMC1_5 implements BlockPropertiesSetup {
|
|||
public static void addFlags(int id, long flags){
|
||||
BlockProperties.setBlockFlags(id, BlockProperties.getBlockFlags(id) | flags);
|
||||
}
|
||||
|
||||
public static void removeFlags(int id, long flags){
|
||||
BlockProperties.setBlockFlags(id, BlockProperties.getBlockFlags(id) & ~flags);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user