mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
add some todos
This commit is contained in:
parent
71f067f678
commit
e5165e6fba
@ -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(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user