mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-28 11:28:11 +01:00
Prevent walking on signs.
This commit is contained in:
parent
6282fe9cdb
commit
75a9d74edd
@ -390,6 +390,13 @@ public class BlockProperties {
|
|||||||
}){
|
}){
|
||||||
blockFlags[mat.getId()] |= F_HEIGHT100;
|
blockFlags[mat.getId()] |= F_HEIGHT100;
|
||||||
}
|
}
|
||||||
|
// Ignore for passable.
|
||||||
|
for (final Material mat : new Material[]{
|
||||||
|
Material.WALL_SIGN, Material.SIGN_POST,
|
||||||
|
}){
|
||||||
|
blockFlags[mat.getId()] &= ~(F_GROUND | F_SOLID);
|
||||||
|
}
|
||||||
|
// Not ground (!).
|
||||||
// Ignore for passable.
|
// Ignore for passable.
|
||||||
for (final Material mat : new Material[]{
|
for (final Material mat : new Material[]{
|
||||||
Material.WOOD_PLATE, Material.STONE_PLATE,
|
Material.WOOD_PLATE, Material.STONE_PLATE,
|
||||||
|
Loading…
Reference in New Issue
Block a user