mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 04:23:54 +00:00
make bit mask protected
TODO same for BIT_OFFSET
This commit is contained in:
@ -66,7 +66,8 @@ public class AsyncBlock implements Block {
|
||||
}
|
||||
|
||||
public int getTypeId() {
|
||||
return (queue.getCachedCombinedId4Data(x, y, z, BlockTypes.AIR.getInternalId()) & BlockTypes.BIT_MASK);
|
||||
int id = (queue.getCachedCombinedId4Data(x, y, z, BlockTypes.AIR.getInternalId()));
|
||||
return BlockTypes.getFromStateId(id).getInternalId();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user