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