mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-08-03 15:08:47 +00:00
Added support for non-128 worldheights
This commit is contained in:
@@ -115,7 +115,7 @@ public class TargetBlock {
|
||||
if (world.getBlockType(getCurrentBlock()) == BlockID.AIR) {
|
||||
if (searchForLastBlock) {
|
||||
lastBlock = getCurrentBlock();
|
||||
if (lastBlock.getBlockY() <= 0 || lastBlock.getBlockY() >= 127) {
|
||||
if (lastBlock.getBlockY() <= 0 || lastBlock.getBlockY() >= world.getMaxY()) {
|
||||
searchForLastBlock = false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user