mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-26 10:39:07 +00:00
1 more todo
This commit is contained in:
@@ -68,6 +68,7 @@ public class TreeManager implements Listener {
|
||||
Iris.debug("Sapling grew @ " + event.getLocation() + " for " + event.getSpecies().name() + " usedBoneMeal is " + event.isFromBonemeal());
|
||||
|
||||
// Calculate size, type & placement
|
||||
// TODO: Patch algorithm to retrieve saplings, as it's not working as intended (only ever returns 1x1)
|
||||
Cuboid saplingPlane = getSaplings(event.getLocation(), blockData -> event.getLocation().getBlock().getBlockData().equals(blockData), event.getWorld());
|
||||
Iris.debug("Sapling plane is: " + saplingPlane.getSizeX() + " by " + saplingPlane.getSizeZ());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user