mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-07 11:10:05 +01: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
|
// 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);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user