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 // 78 Snow
addFlags(78, BlockProperties.F_HEIGHT_8_INC); addFlags(78, BlockProperties.F_HEIGHT_8_INC);
removeFlags(78, BlockProperties.F_HEIGHT_8SIM_INC);
} }
@ -87,4 +88,8 @@ public class BlocksMC1_5 implements BlockPropertiesSetup {
BlockProperties.setBlockFlags(id, BlockProperties.getBlockFlags(id) | flags); BlockProperties.setBlockFlags(id, BlockProperties.getBlockFlags(id) | flags);
} }
public static void removeFlags(int id, long flags){
BlockProperties.setBlockFlags(id, BlockProperties.getBlockFlags(id) & ~flags);
}
} }