From d1d60e55d50fea966bbebaa92339f83c0965f298 Mon Sep 17 00:00:00 2001 From: ShadowRanger Date: Wed, 24 Jun 2015 19:37:09 +1000 Subject: [PATCH] More fixes and improvements - continued --- src/main/java/com/lishid/openinv/ConfigUpdater.java | 2 -- .../java/com/lishid/openinv/commands/SearchEnderCommand.java | 2 -- src/main/resources/config.yml | 1 - src/main/resources/plugin.yml | 2 +- 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/java/com/lishid/openinv/ConfigUpdater.java b/src/main/java/com/lishid/openinv/ConfigUpdater.java index e94ae1b..f3fa1bb 100644 --- a/src/main/java/com/lishid/openinv/ConfigUpdater.java +++ b/src/main/java/com/lishid/openinv/ConfigUpdater.java @@ -65,7 +65,6 @@ public class ConfigUpdater { // Get the old config settings int itemOpenInvItemId = config.getInt("ItemOpenInvItemID", 280); - // boolean checkForUpdates = config.getBoolean("CheckForUpdates", true); boolean notifySilentChest = config.getBoolean("NotifySilentChest", true); boolean notifyAnyChest = config.getBoolean("NotifyAnyChest", true); @@ -97,7 +96,6 @@ public class ConfigUpdater { config = plugin.getConfig(); // Refresh the referenced plugin config config.set("config-version", 2); - // config.set("check-for-updates", checkForUpdates); config.set("items.open-inv", getMaterialById(itemOpenInvItemId).toString()); config.set("notify.any-chest", notifyAnyChest); config.set("notify.silent-chest", notifySilentChest); diff --git a/src/main/java/com/lishid/openinv/commands/SearchEnderCommand.java b/src/main/java/com/lishid/openinv/commands/SearchEnderCommand.java index 65fd961..71c4557 100644 --- a/src/main/java/com/lishid/openinv/commands/SearchEnderCommand.java +++ b/src/main/java/com/lishid/openinv/commands/SearchEnderCommand.java @@ -12,8 +12,6 @@ import com.lishid.openinv.OpenInv; import com.lishid.openinv.Permissions; public class SearchEnderCommand implements CommandExecutor { - // TODO - @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { if (command.getName().equalsIgnoreCase("searchender")) { diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index eb76f52..50320d5 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -1,5 +1,4 @@ config-version: 2 -check-for-updates: true notify: any-chest: true silent-chest: true diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 2058558..163b3a0 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -7,7 +7,7 @@ description: > commands: openinv: aliases: [oi, inv, open] - description: Open a player's inventory. + description: Opens a player's inventory. usage: | / - Opens last person's inventory. / - Opens a player's inventory.