mirror of
https://github.com/BentoBoxWorld/Greenhouses.git
synced 2025-02-01 04:41:20 +01:00
Fixes bug where floor blocks were not converted.
This was introduced by commit db3054ab0c
https://github.com/BentoBoxWorld/Greenhouses/issues/81
This commit is contained in:
parent
8a3e0eb403
commit
47bead9145
@ -91,10 +91,9 @@ public class EcoSystemManager {
|
||||
|| !gh.getLocation().getWorld().isChunkLoaded(((int) gh.getBoundingBox().getMinX()) >> 4, ((int) gh.getBoundingBox().getMinZ()) >> 4)){
|
||||
return;
|
||||
}
|
||||
|
||||
int gh_min_x = NumberConversions.floor(gh.getInternalBoundingBox().getMinX());
|
||||
int gh_max_x = NumberConversions.floor(gh.getInternalBoundingBox().getMaxX());
|
||||
int gh_min_y = NumberConversions.floor(gh.getInternalBoundingBox().getMinY());
|
||||
int gh_min_y = NumberConversions.floor(gh.getBoundingBox().getMinY()); // Note: this gets the floor
|
||||
int gh_max_y = NumberConversions.floor(gh.getInternalBoundingBox().getMaxY());
|
||||
int gh_min_z = NumberConversions.floor(gh.getInternalBoundingBox().getMinZ());
|
||||
int gh_max_z = NumberConversions.floor(gh.getInternalBoundingBox().getMaxZ());
|
||||
|
Loading…
Reference in New Issue
Block a user