summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIaccidentally <coryhuckaby@gmail.com>2013-07-13 12:52:08 -0400
committerIaccidentally <coryhuckaby@gmail.com>2013-07-13 12:52:08 -0400
commit200ad818626088dd4908699e502523c9a05c165d (patch)
tree43add48928fe4426638f2cec2738459eca152a17
parentc05ad0458f4f3145ea388b49b1135eb7432bd8be (diff)
downloadEssentials-200ad818626088dd4908699e502523c9a05c165d.tar
Essentials-200ad818626088dd4908699e502523c9a05c165d.tar.gz
Essentials-200ad818626088dd4908699e502523c9a05c165d.tar.lz
Essentials-200ad818626088dd4908699e502523c9a05c165d.tar.xz
Essentials-200ad818626088dd4908699e502523c9a05c165d.zip
[API] fix implementation?
-rw-r--r--Essentials/src/com/earth2me/essentials/Essentials.java2
-rw-r--r--Essentials/src/com/earth2me/essentials/I18n.java3
-rw-r--r--Essentials/src/com/earth2me/essentials/ItemDb.java3
-rw-r--r--Essentials/src/com/earth2me/essentials/Jails.java3
-rw-r--r--Essentials/src/com/earth2me/essentials/Settings.java4
-rw-r--r--Essentials/src/com/earth2me/essentials/Teleport.java5
-rw-r--r--Essentials/src/com/earth2me/essentials/User.java3
-rw-r--r--Essentials/src/com/earth2me/essentials/Warps.java3
-rw-r--r--Essentials/src/net/ess3/api/IEssentials.java3
9 files changed, 9 insertions, 20 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Essentials.java b/Essentials/src/com/earth2me/essentials/Essentials.java
index 24827e099..b79d95622 100644
--- a/Essentials/src/com/earth2me/essentials/Essentials.java
+++ b/Essentials/src/com/earth2me/essentials/Essentials.java
@@ -77,7 +77,7 @@ import org.bukkit.scheduler.BukkitTask;
import org.yaml.snakeyaml.error.YAMLException;
-public class Essentials extends JavaPlugin implements IEssentials
+public class Essentials extends JavaPlugin implements net.ess3.api.IEssentials
{
public static final int BUKKIT_VERSION = 2808;
private static final Logger LOGGER = Logger.getLogger("Minecraft");
diff --git a/Essentials/src/com/earth2me/essentials/I18n.java b/Essentials/src/com/earth2me/essentials/I18n.java
index ab5953daa..15757c24d 100644
--- a/Essentials/src/com/earth2me/essentials/I18n.java
+++ b/Essentials/src/com/earth2me/essentials/I18n.java
@@ -1,7 +1,6 @@
package com.earth2me.essentials;
import net.ess3.api.IEssentials;
-import net.ess3.api.II18n;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
@@ -15,7 +14,7 @@ import java.util.logging.Logger;
import java.util.regex.Pattern;
-public class I18n implements II18n
+public class I18n implements net.ess3.api.II18n
{
private static I18n instance;
private static final String MESSAGES = "messages";
diff --git a/Essentials/src/com/earth2me/essentials/ItemDb.java b/Essentials/src/com/earth2me/essentials/ItemDb.java
index 63cf6f509..3bf49d836 100644
--- a/Essentials/src/com/earth2me/essentials/ItemDb.java
+++ b/Essentials/src/com/earth2me/essentials/ItemDb.java
@@ -3,7 +3,6 @@ package com.earth2me.essentials;
import net.ess3.api.IEssentials;
import com.earth2me.essentials.utils.StringUtil;
import static com.earth2me.essentials.I18n._;
-import net.ess3.api.IItemDb;
import com.earth2me.essentials.utils.NumberUtil;
import java.util.*;
import java.util.regex.Pattern;
@@ -11,7 +10,7 @@ import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
-public class ItemDb implements IConf, IItemDb
+public class ItemDb implements IConf, net.ess3.api.IItemDb
{
private final transient IEssentials ess;
diff --git a/Essentials/src/com/earth2me/essentials/Jails.java b/Essentials/src/com/earth2me/essentials/Jails.java
index 75e3573b5..034b97b08 100644
--- a/Essentials/src/com/earth2me/essentials/Jails.java
+++ b/Essentials/src/com/earth2me/essentials/Jails.java
@@ -3,7 +3,6 @@ package com.earth2me.essentials;
import net.ess3.api.IEssentials;
import net.ess3.api.IUser;
import static com.earth2me.essentials.I18n._;
-import net.ess3.api.IJails;
import com.earth2me.essentials.storage.AsyncStorageObjectHolder;
import java.io.File;
import java.util.*;
@@ -29,7 +28,7 @@ import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.plugin.PluginManager;
-public class Jails extends AsyncStorageObjectHolder<com.earth2me.essentials.settings.Jails> implements IJails
+public class Jails extends AsyncStorageObjectHolder<com.earth2me.essentials.settings.Jails> implements net.ess3.api.IJails
{
private static final transient Logger LOGGER = Bukkit.getLogger();
private static transient boolean enabled = false;
diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java
index 669405479..e3916ddde 100644
--- a/Essentials/src/com/earth2me/essentials/Settings.java
+++ b/Essentials/src/com/earth2me/essentials/Settings.java
@@ -1,6 +1,5 @@
package com.earth2me.essentials;
-import net.ess3.api.ISettings;
import net.ess3.api.IEssentials;
import static com.earth2me.essentials.I18n._;
import com.earth2me.essentials.commands.IEssentialsCommand;
@@ -11,7 +10,6 @@ import com.earth2me.essentials.textreader.SimpleTextInput;
import com.earth2me.essentials.utils.FormatUtil;
import java.io.File;
import java.math.BigDecimal;
-import java.text.MessageFormat;
import java.util.*;
import java.util.logging.Level;
import java.util.logging.Logger;
@@ -23,7 +21,7 @@ import org.bukkit.event.EventPriority;
import org.bukkit.inventory.ItemStack;
-public class Settings implements ISettings
+public class Settings implements net.ess3.api.ISettings
{
private final transient EssentialsConf config;
private final static Logger logger = Logger.getLogger("Minecraft");
diff --git a/Essentials/src/com/earth2me/essentials/Teleport.java b/Essentials/src/com/earth2me/essentials/Teleport.java
index 4db461849..6b287fb8d 100644
--- a/Essentials/src/com/earth2me/essentials/Teleport.java
+++ b/Essentials/src/com/earth2me/essentials/Teleport.java
@@ -3,7 +3,6 @@ package com.earth2me.essentials;
import net.ess3.api.IEssentials;
import net.ess3.api.IUser;
import static com.earth2me.essentials.I18n._;
-import net.ess3.api.ITeleport;
import com.earth2me.essentials.utils.DateUtil;
import com.earth2me.essentials.utils.LocationUtil;
import java.util.Calendar;
@@ -14,8 +13,8 @@ import org.bukkit.event.player.PlayerRespawnEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
-public class Teleport implements ITeleport
-{
+public class Teleport implements net.ess3.api.ITeleport
+{
private final IUser teleportOwner;
private final IEssentials ess;
private TimedTeleport timedTeleport;
diff --git a/Essentials/src/com/earth2me/essentials/User.java b/Essentials/src/com/earth2me/essentials/User.java
index b253ec097..9a10b15ec 100644
--- a/Essentials/src/com/earth2me/essentials/User.java
+++ b/Essentials/src/com/earth2me/essentials/User.java
@@ -1,7 +1,6 @@
package com.earth2me.essentials;
import net.ess3.api.IEssentials;
-import net.ess3.api.IUser;
import static com.earth2me.essentials.I18n._;
import com.earth2me.essentials.commands.IEssentialsCommand;
import com.earth2me.essentials.register.payment.Method;
@@ -22,7 +21,7 @@ import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
-public class User extends UserData implements Comparable<User>, IReplyTo, IUser
+public class User extends UserData implements Comparable<User>, IReplyTo, net.ess3.api.IUser
{
private CommandSender replyTo = null;
private transient String teleportRequester;
diff --git a/Essentials/src/com/earth2me/essentials/Warps.java b/Essentials/src/com/earth2me/essentials/Warps.java
index 6ee2f625c..89430bb2f 100644
--- a/Essentials/src/com/earth2me/essentials/Warps.java
+++ b/Essentials/src/com/earth2me/essentials/Warps.java
@@ -2,7 +2,6 @@ package com.earth2me.essentials;
import com.earth2me.essentials.utils.StringUtil;
import static com.earth2me.essentials.I18n._;
-import net.ess3.api.IWarps;
import net.ess3.api.InvalidNameException;
import net.ess3.api.InvalidWorldException;
import com.earth2me.essentials.commands.WarpNotFoundException;
@@ -15,7 +14,7 @@ import org.bukkit.Location;
import org.bukkit.Server;
-public class Warps implements IConf, IWarps
+public class Warps implements IConf, net.ess3.api.IWarps
{
private static final Logger logger = Logger.getLogger("Minecraft");
private final Map<StringIgnoreCase, EssentialsConf> warpPoints = new HashMap<StringIgnoreCase, EssentialsConf>();
diff --git a/Essentials/src/net/ess3/api/IEssentials.java b/Essentials/src/net/ess3/api/IEssentials.java
index a79b0f6a1..7a896de7e 100644
--- a/Essentials/src/net/ess3/api/IEssentials.java
+++ b/Essentials/src/net/ess3/api/IEssentials.java
@@ -11,9 +11,6 @@ import com.earth2me.essentials.TNTExplodeListener;
import com.earth2me.essentials.User;
import com.earth2me.essentials.UserMap;
import com.earth2me.essentials.Worth;
-import net.ess3.api.IUser;
-import net.ess3.api.IJails;
-import net.ess3.api.IWarps;
import com.earth2me.essentials.metrics.Metrics;
import com.earth2me.essentials.perm.PermissionsHandler;
import com.earth2me.essentials.register.payment.Methods;