Prevent walking on signs.

This commit is contained in:
asofold 2013-02-03 13:46:34 +01:00
parent 6282fe9cdb
commit 75a9d74edd

View File

@ -390,6 +390,13 @@ public class BlockProperties {
}){
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.
for (final Material mat : new Material[]{
Material.WOOD_PLATE, Material.STONE_PLATE,