mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-30 11:21:21 +01:00
Fix walking on a block below COCOA.
This commit is contained in:
parent
348ba34e35
commit
83abefb630
@ -456,6 +456,7 @@ public class BlockProperties {
|
||||
Material.WALL_SIGN, Material.SIGN_POST,
|
||||
Material.DIODE_BLOCK_ON, Material.DIODE_BLOCK_OFF,
|
||||
Material.LADDER, Material.CAKE_BLOCK,
|
||||
Material.COCOA,
|
||||
}){
|
||||
blockFlags[mat.getId()] |= F_IGN_PASSABLE;
|
||||
}
|
||||
@ -472,6 +473,7 @@ public class BlockProperties {
|
||||
Material.PISTON_EXTENSION, Material.ANVIL,
|
||||
Material.SKULL, Material.FLOWER_POT,
|
||||
Material.CAKE_BLOCK, Material.DRAGON_EGG,
|
||||
Material.COCOA,
|
||||
}){
|
||||
blockFlags[mat.getId()] |= F_GROUND_HEIGHT;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user