From 571c66a18948dcf725bd197e77e296477e499fb9 Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Wed, 3 Aug 2011 23:40:25 -0500 Subject: [PATCH] Fix detection of blockformed, blockfaded, blockspread --- src/main/java/org/dynmap/DynmapPlugin.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/dynmap/DynmapPlugin.java b/src/main/java/org/dynmap/DynmapPlugin.java index 6fb852d5..d1e82645 100644 --- a/src/main/java/org/dynmap/DynmapPlugin.java +++ b/src/main/java/org/dynmap/DynmapPlugin.java @@ -414,7 +414,7 @@ public class DynmapPlugin extends JavaPlugin { onblockform = isTrigger("blockformed"); try { - Class cls = Class.forName("org.dynmap.event.block.BlockFormEvent"); + Class.forName("org.bukkit.event.block.BlockFormEvent"); pm.registerEvent(org.bukkit.event.Event.Type.BLOCK_FORM, renderTrigger, org.bukkit.event.Event.Priority.Monitor, this); } catch (ClassNotFoundException cnfx) { if(onblockform) @@ -422,7 +422,7 @@ public class DynmapPlugin extends JavaPlugin { } onblockfade = isTrigger("blockfaded"); try { - Class cls = Class.forName("org.dynmap.event.block.BlockFadeEvent"); + Class.forName("org.bukkit.event.block.BlockFadeEvent"); pm.registerEvent(org.bukkit.event.Event.Type.BLOCK_FADE, renderTrigger, org.bukkit.event.Event.Priority.Monitor, this); } catch (ClassNotFoundException cnfx) { if(onblockfade) @@ -430,7 +430,7 @@ public class DynmapPlugin extends JavaPlugin { } onblockspread = isTrigger("blockspread"); try { - Class cls = Class.forName("org.dynmap.event.block.BlockSpreadEvent"); + Class.forName("org.bukkit.event.block.BlockSpreadEvent"); pm.registerEvent(org.bukkit.event.Event.Type.BLOCK_SPREAD, renderTrigger, org.bukkit.event.Event.Priority.Monitor, this); } catch (ClassNotFoundException cnfx) { if(onblockspread)