diff --git a/BlueMapBukkit/build.gradle b/BlueMapBukkit/build.gradle index c8d6a719..93d34d68 100644 --- a/BlueMapBukkit/build.gradle +++ b/BlueMapBukkit/build.gradle @@ -9,7 +9,7 @@ repositories { } dependencies { - shadow "org.bukkit:bukkit:1.14.4-R0.1-SNAPSHOT" + shadow "org.bukkit:bukkit:1.12.2-R0.1-SNAPSHOT" compile group: 'org.bstats', name: 'bstats-bukkit-lite', version: '1.5' compile project(':BlueMapCommon') } diff --git a/BlueMapBukkit/src/main/java/de/bluecolored/bluemap/bukkit/EventForwarder.java b/BlueMapBukkit/src/main/java/de/bluecolored/bluemap/bukkit/EventForwarder.java index a307437c..ebdc4414 100644 --- a/BlueMapBukkit/src/main/java/de/bluecolored/bluemap/bukkit/EventForwarder.java +++ b/BlueMapBukkit/src/main/java/de/bluecolored/bluemap/bukkit/EventForwarder.java @@ -37,7 +37,6 @@ import org.bukkit.event.block.BlockBurnEvent; import org.bukkit.event.block.BlockExplodeEvent; import org.bukkit.event.block.BlockFadeEvent; -import org.bukkit.event.block.BlockFertilizeEvent; import org.bukkit.event.block.BlockFormEvent; import org.bukkit.event.block.BlockGrowEvent; import org.bukkit.event.block.BlockPlaceEvent; @@ -111,11 +110,6 @@ public void onBlockChange(BlockFormEvent evt) { onBlockChange(evt.getBlock().getLocation()); } - @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) - public void onBlockChange(BlockFertilizeEvent evt) { - onBlockChange(evt.getBlock().getLocation()); - } - private synchronized void onBlockChange(Location loc) { UUID world = loc.getWorld().getUID(); Vector3i pos = new Vector3i(loc.getBlockX(), loc.getBlockY(), loc.getBlockZ()); diff --git a/BlueMapBukkit/src/main/resources/plugin.yml b/BlueMapBukkit/src/main/resources/plugin.yml index 6c8fbe10..7f686cea 100644 --- a/BlueMapBukkit/src/main/resources/plugin.yml +++ b/BlueMapBukkit/src/main/resources/plugin.yml @@ -2,6 +2,7 @@ name: BlueMap description: "A 3d-map of your Minecraft worlds view-able in your browser using three.js (WebGL)" main: de.bluecolored.bluemap.bukkit.BukkitPlugin version: 0.2.1 +api-version: 1.12.2 author: "Blue (TBlueF / Lukas Rieger)" authors: [Blue (TBlueF / Lukas Rieger)] website: "https://github.com/BlueMap-Minecraft"