More fixes and improvements - continued

This commit is contained in:
ShadowRanger 2015-06-24 19:37:09 +10:00
parent 471b631838
commit d1d60e55d5
4 changed files with 1 additions and 6 deletions

View file

@ -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);

View file

@ -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")) {

View file

@ -1,5 +1,4 @@
config-version: 2
check-for-updates: true
notify:
any-chest: true
silent-chest: true

View file

@ -7,7 +7,7 @@ description: >
commands:
openinv:
aliases: [oi, inv, open]
description: Open a player's inventory.
description: Opens a player's inventory.
usage: |
/<command> - Opens last person's inventory.
/<command> <player> - Opens a player's inventory.