mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 14:21:08 +00:00
fix minor sapling issues
This commit is contained in:
@@ -42,6 +42,7 @@ public class CommonListener implements Listener {
|
|||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void onSaplingGrow(StructureGrowEvent e) {
|
public void onSaplingGrow(StructureGrowEvent e) {
|
||||||
|
if(e.isCancelled()) return;
|
||||||
World bukkit = BukkitAdapter.adapt(e.getWorld());
|
World bukkit = BukkitAdapter.adapt(e.getWorld());
|
||||||
if(!TerraWorld.isTerraWorld(bukkit)) return;
|
if(!TerraWorld.isTerraWorld(bukkit)) return;
|
||||||
TerraWorld tw = main.getWorld(bukkit);
|
TerraWorld tw = main.getWorld(bukkit);
|
||||||
|
|||||||
Reference in New Issue
Block a user