diff options
Diffstat (limited to 'Essentials/src/com/earth2me')
10 files changed, 2 insertions, 9 deletions
diff --git a/Essentials/src/com/earth2me/essentials/IUser.java b/Essentials/src/com/earth2me/essentials/IUser.java index c8946c011..43e729e31 100644 --- a/Essentials/src/com/earth2me/essentials/IUser.java +++ b/Essentials/src/com/earth2me/essentials/IUser.java @@ -8,7 +8,6 @@ import java.util.Set; import net.ess3.api.ITeleport; import net.ess3.api.MaxMoneyException; import org.bukkit.Location; -import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java index 1fd501eb3..bedf97f4e 100644 --- a/Essentials/src/com/earth2me/essentials/Settings.java +++ b/Essentials/src/com/earth2me/essentials/Settings.java @@ -233,7 +233,6 @@ public class Settings implements net.ess3.api.ISettings final ConfigurationSection newSection = new MemoryConfiguration(); for (String command : section.getKeys(false)) { - PluginCommand cmd = ess.getServer().getPluginCommand(command); if (command.charAt(0) == '/') { ess.getLogger().warning("Invalid command cost. '" + command + "' should not start with '/'."); diff --git a/Essentials/src/com/earth2me/essentials/User.java b/Essentials/src/com/earth2me/essentials/User.java index 1b2a8fc6a..ebae1681f 100644 --- a/Essentials/src/com/earth2me/essentials/User.java +++ b/Essentials/src/com/earth2me/essentials/User.java @@ -794,7 +794,7 @@ public class User extends UserData implements Comparable<User>, IReplyTo, net.es public void updateThrottle() { - lastThrottledAction = System.currentTimeMillis();; + lastThrottledAction = System.currentTimeMillis(); } public boolean isFlyClickJump() diff --git a/Essentials/src/com/earth2me/essentials/Worth.java b/Essentials/src/com/earth2me/essentials/Worth.java index fff2c992c..9a3e3fe51 100644 --- a/Essentials/src/com/earth2me/essentials/Worth.java +++ b/Essentials/src/com/earth2me/essentials/Worth.java @@ -13,7 +13,6 @@ import org.bukkit.inventory.ItemStack; public class Worth implements IConf { - private static final Logger logger = Logger.getLogger("Essentials"); private final EssentialsConf config; public Worth(File dataFolder) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandfirework.java b/Essentials/src/com/earth2me/essentials/commands/Commandfirework.java index 3206d931c..99ac62184 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandfirework.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandfirework.java @@ -32,7 +32,6 @@ import org.bukkit.util.Vector; public class Commandfirework extends EssentialsCommand { - private final transient Pattern splitPattern = Pattern.compile("[:+',;.]"); public Commandfirework() { diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandremove.java b/Essentials/src/com/earth2me/essentials/commands/Commandremove.java index f8dcc5401..a77b0b863 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandremove.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandremove.java @@ -179,7 +179,6 @@ public class Commandremove extends EssentialsCommand e.remove(); removed++; } - ; break; case ARROWS: if (e instanceof Projectile) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandworth.java b/Essentials/src/com/earth2me/essentials/commands/Commandworth.java index 097812ce2..648eb4139 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandworth.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandworth.java @@ -72,7 +72,6 @@ public class Commandworth extends EssentialsCommand @Override public void run(final Server server, final CommandSource sender, final String commandLabel, final String[] args) throws Exception { - String type = ""; if (args.length < 1) { throw new NotEnoughArgumentsException(); diff --git a/Essentials/src/com/earth2me/essentials/signs/SignEnchant.java b/Essentials/src/com/earth2me/essentials/signs/SignEnchant.java index ce3b85644..94425be18 100644 --- a/Essentials/src/com/earth2me/essentials/signs/SignEnchant.java +++ b/Essentials/src/com/earth2me/essentials/signs/SignEnchant.java @@ -83,7 +83,6 @@ public class SignEnchant extends EssentialsSign protected boolean onSignInteract(ISign sign, User player, String username, IEssentials ess) throws SignException, ChargeException { final ItemStack search = sign.getLine(1).equals("*") || sign.getLine(1).equalsIgnoreCase("any") ? null : getItemStack(sign.getLine(1), 1, ess); - int slot = -1; final Trade charge = getTrade(sign, 3, ess); charge.isAffordableFor(player); final String[] enchantLevel = sign.getLine(2).split(":"); diff --git a/Essentials/src/com/earth2me/essentials/signs/SignProtection.java b/Essentials/src/com/earth2me/essentials/signs/SignProtection.java index ac7453464..501782968 100644 --- a/Essentials/src/com/earth2me/essentials/signs/SignProtection.java +++ b/Essentials/src/com/earth2me/essentials/signs/SignProtection.java @@ -63,6 +63,7 @@ public class SignProtection extends EssentialsSign { if (b.getLocation().equals(ignoredBlock.getLocation())) { + //TODO: What? } } if (protectedBlocks.contains(b.getType())) diff --git a/Essentials/src/com/earth2me/essentials/textreader/BookPager.java b/Essentials/src/com/earth2me/essentials/textreader/BookPager.java index 711eb1730..b84bfea79 100644 --- a/Essentials/src/com/earth2me/essentials/textreader/BookPager.java +++ b/Essentials/src/com/earth2me/essentials/textreader/BookPager.java @@ -5,7 +5,6 @@ import java.util.ArrayList; import java.util.List; import java.util.Locale; import java.util.Map; -import org.bukkit.Bukkit; public class BookPager |