Remove the old snow-level flag for leveled snow.

This commit is contained in:
asofold 2013-03-13 22:02:23 +01:00
parent a789b9286d
commit 1eb7dbacf1

View File

@ -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);
}
}