diff --git a/vStopFire/com/bukkit/nossr50/vStopFire/vBlockListener.java b/vStopFire/com/bukkit/nossr50/vStopFire/vBlockListener.java index 4562c7234..9dad43479 100644 --- a/vStopFire/com/bukkit/nossr50/vStopFire/vBlockListener.java +++ b/vStopFire/com/bukkit/nossr50/vStopFire/vBlockListener.java @@ -9,7 +9,7 @@ import org.bukkit.event.block.BlockListener; import org.bukkit.event.block.BlockPhysicsEvent; /** - * vPlayerSpawn block listener + * vStopFire block listener * @author nossr50 */ public class vBlockListener extends BlockListener { @@ -26,5 +26,4 @@ public class vBlockListener extends BlockListener { if(!cause.equals("FLINT_AND_STEEL")) event.setCancelled(true); } - //put all Block related code here } diff --git a/vStopFire/com/bukkit/nossr50/vStopFire/vStopFire.java b/vStopFire/com/bukkit/nossr50/vStopFire/vStopFire.java index ef18b9051..bfd5c7859 100644 --- a/vStopFire/com/bukkit/nossr50/vStopFire/vStopFire.java +++ b/vStopFire/com/bukkit/nossr50/vStopFire/vStopFire.java @@ -24,9 +24,6 @@ public class vStopFire extends JavaPlugin { public vStopFire(PluginLoader pluginLoader, Server instance, PluginDescriptionFile desc, File folder, File plugin, ClassLoader cLoader) { super(pluginLoader, instance, desc, folder, plugin, cLoader); - - - // NOTE: Event registration should be done in onEnable not here as all events are unregistered when a plugin is disabled } @@ -37,12 +34,7 @@ public class vStopFire extends JavaPlugin { System.out.println( pdfFile.getName() + " version " + pdfFile.getVersion() + " is enabled!" ); } public void onDisable() { - // TODO: Place any custom disable code here - - // NOTE: All registered events are automatically unregistered when a plugin is disabled - - // EXAMPLE: Custom code, here we just output some info so we can check all is well - System.out.println("Goodbye world!"); + System.out.println("vStopFire disabled!"); } public boolean isDebugging(final Player player) { if (debugees.containsKey(player)) {