9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 10:39:07 +00:00

add some todos

This commit is contained in:
CocoTheOwner
2021-07-22 16:25:24 +02:00
parent 71f067f678
commit e5165e6fba

View File

@@ -83,9 +83,6 @@ public class TreeManager implements Listener {
return;
}
// Cancel the placement
event.setCancelled(true);
// Delete existing saplings
saplingPlane.forEach(block -> block.setType(Material.AIR));
@@ -158,6 +155,13 @@ public class TreeManager implements Listener {
}
};
// TODO: Prevent placing on claimed blocks (however that's defined, idk)
// TODO: Prevent placing object when overriding blocks
// Cancel the vanilla placement
event.setCancelled(true);
// Place the object with the placer
object.place(
saplingPlane.getCenter(),