1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-23 06:45:04 +02:00

Renamed TNT explosion listener to be more consistent with naming scheme.

Signed-off-by: Paul Buonopane <techsoftadvanced@gmail.com>
This commit is contained in:
Paul Buonopane
2012-02-23 12:18:29 -05:00
parent 224e5f129e
commit a2fdf66de4
3 changed files with 6 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ public class Essentials extends JavaPlugin implements IEssentials
public static final int BUKKIT_VERSION = 1952;
private static final Logger LOGGER = Logger.getLogger("Minecraft");
private transient ISettings settings;
private final transient TNTExplodeListener tntListener = new TNTExplodeListener(this);
private final transient TntExplodeListener tntListener = new TntExplodeListener(this);
private transient IJails jails;
private transient IKits kits;
private transient IWarps warps;
@@ -375,7 +375,7 @@ public class Essentials extends JavaPlugin implements IEssentials
}
@Override
public TNTExplodeListener getTNTListener()
public TntExplodeListener getTNTListener()
{
return tntListener;
}

View File

@@ -1,6 +1,6 @@
package com.earth2me.essentials.api;
import com.earth2me.essentials.listener.TNTExplodeListener;
import com.earth2me.essentials.listener.TntExplodeListener;
import com.earth2me.essentials.register.payment.Methods;
import org.bukkit.World;
import org.bukkit.entity.Player;
@@ -54,7 +54,7 @@ public interface IEssentials extends Plugin
//IPermissionsHandler getPermissionsHandler();
void reload();
TNTExplodeListener getTNTListener();
TntExplodeListener getTNTListener();
void setGroups(IGroups groups);

View File

@@ -10,13 +10,13 @@ import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityExplodeEvent;
public class TNTExplodeListener implements Listener, Runnable
public class TntExplodeListener implements Listener, Runnable
{
private final transient IEssentials ess;
private transient AtomicBoolean enabled = new AtomicBoolean(false);
private transient int timer = -1;
public TNTExplodeListener(final IEssentials ess)
public TntExplodeListener(final IEssentials ess)
{
super();
this.ess = ess;