From 9888fe6e096081eb3a42004b9c8b9a9d2c002045 Mon Sep 17 00:00:00 2001 From: GJ Date: Mon, 25 Feb 2013 08:02:35 -0500 Subject: [PATCH] We now need to watch these species too. --- .../java/com/gmail/nossr50/listeners/WorldListener.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/listeners/WorldListener.java b/src/main/java/com/gmail/nossr50/listeners/WorldListener.java index 1460958c7..b4eef1ffb 100644 --- a/src/main/java/com/gmail/nossr50/listeners/WorldListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/WorldListener.java @@ -5,7 +5,6 @@ import java.util.ArrayList; import org.bukkit.Chunk; import org.bukkit.Location; -import org.bukkit.TreeType; import org.bukkit.World; import org.bukkit.block.BlockState; import org.bukkit.event.EventHandler; @@ -29,12 +28,6 @@ public class WorldListener implements Listener { */ @EventHandler (priority = EventPriority.MONITOR, ignoreCancelled = true) public void onStructureGrow(StructureGrowEvent event) { - TreeType species = event.getSpecies(); - - if (species == TreeType.BROWN_MUSHROOM || species == TreeType.RED_MUSHROOM) { - return; - } - Location location = event.getLocation(); if (mcMMO.placeStore.isTrue(location.getBlockX(), location.getBlockY(), location.getBlockZ(), location.getWorld())) {