mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-20 06:21:23 +01:00
Random.
This commit is contained in:
parent
be384aa799
commit
2389b82138
@ -836,8 +836,9 @@ public class BlockProperties {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public static final boolean isPassable(final int id){
|
public static final boolean isPassable(final int id){
|
||||||
if ((blockFlags[id] & (F_LIQUID | F_IGN_PASSABLE)) != 0) return true;
|
final long flags = blockFlags[id];
|
||||||
else return (blockFlags[id] & F_SOLID) == 0;
|
if ((flags & (F_LIQUID | F_IGN_PASSABLE)) != 0) return true;
|
||||||
|
else return (flags & F_SOLID) == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user