mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Removed excessive comments, changed a mistake or two.
This commit is contained in:
parent
4e004558e5
commit
637868a12b
@ -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
|
||||
}
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user