mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-10 02:19:30 +01:00
Use world min-height for island bounding box.
This commit is contained in:
parent
6c7d77f093
commit
6a009946f5
@ -698,7 +698,7 @@ public class Island implements DataObject, MetaDataAble {
|
||||
* @since 1.5.2
|
||||
*/
|
||||
public BoundingBox getBoundingBox() {
|
||||
return new BoundingBox(getMinX(), 0.0D, getMinZ(), getMaxX(), world.getMaxHeight(), getMaxZ());
|
||||
return new BoundingBox(getMinX(), world.getMinHeight(), getMinZ(), getMaxX(), world.getMaxHeight(), getMaxZ());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user