mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 04:46:40 +00:00
Make BaseBlock more memory efficient, and make it clear in the API that it's not intended to be used for every single block.
This commit is contained in:
committed by
IronApollo
parent
4d6045813c
commit
628c9cc0b7
@ -110,11 +110,11 @@ public interface Region extends Iterable<BlockVector3>, Cloneable {
|
||||
|
||||
|
||||
default boolean contains(int x, int y, int z) {
|
||||
return contains(new BlockVector3(x, y, z));
|
||||
return contains(BlockVector3.at(x, y, z));
|
||||
}
|
||||
|
||||
default boolean contains(int x, int z) {
|
||||
return contains(new BlockVector3(x, 0, z));
|
||||
return contains(BlockVector3.at(x, 0, z));
|
||||
}
|
||||
|
||||
default boolean isGlobal() {
|
||||
|
Reference in New Issue
Block a user