More fixes and improvements - continued
This commit is contained in:
@@ -65,7 +65,6 @@ public class ConfigUpdater {
|
|||||||
|
|
||||||
// Get the old config settings
|
// Get the old config settings
|
||||||
int itemOpenInvItemId = config.getInt("ItemOpenInvItemID", 280);
|
int itemOpenInvItemId = config.getInt("ItemOpenInvItemID", 280);
|
||||||
// boolean checkForUpdates = config.getBoolean("CheckForUpdates", true);
|
|
||||||
boolean notifySilentChest = config.getBoolean("NotifySilentChest", true);
|
boolean notifySilentChest = config.getBoolean("NotifySilentChest", true);
|
||||||
boolean notifyAnyChest = config.getBoolean("NotifyAnyChest", true);
|
boolean notifyAnyChest = config.getBoolean("NotifyAnyChest", true);
|
||||||
|
|
||||||
@@ -97,7 +96,6 @@ public class ConfigUpdater {
|
|||||||
config = plugin.getConfig(); // Refresh the referenced plugin config
|
config = plugin.getConfig(); // Refresh the referenced plugin config
|
||||||
|
|
||||||
config.set("config-version", 2);
|
config.set("config-version", 2);
|
||||||
// config.set("check-for-updates", checkForUpdates);
|
|
||||||
config.set("items.open-inv", getMaterialById(itemOpenInvItemId).toString());
|
config.set("items.open-inv", getMaterialById(itemOpenInvItemId).toString());
|
||||||
config.set("notify.any-chest", notifyAnyChest);
|
config.set("notify.any-chest", notifyAnyChest);
|
||||||
config.set("notify.silent-chest", notifySilentChest);
|
config.set("notify.silent-chest", notifySilentChest);
|
||||||
|
@@ -12,8 +12,6 @@ import com.lishid.openinv.OpenInv;
|
|||||||
import com.lishid.openinv.Permissions;
|
import com.lishid.openinv.Permissions;
|
||||||
|
|
||||||
public class SearchEnderCommand implements CommandExecutor {
|
public class SearchEnderCommand implements CommandExecutor {
|
||||||
// TODO
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
|
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
|
||||||
if (command.getName().equalsIgnoreCase("searchender")) {
|
if (command.getName().equalsIgnoreCase("searchender")) {
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
config-version: 2
|
config-version: 2
|
||||||
check-for-updates: true
|
|
||||||
notify:
|
notify:
|
||||||
any-chest: true
|
any-chest: true
|
||||||
silent-chest: true
|
silent-chest: true
|
||||||
|
@@ -7,7 +7,7 @@ description: >
|
|||||||
commands:
|
commands:
|
||||||
openinv:
|
openinv:
|
||||||
aliases: [oi, inv, open]
|
aliases: [oi, inv, open]
|
||||||
description: Open a player's inventory.
|
description: Opens a player's inventory.
|
||||||
usage: |
|
usage: |
|
||||||
/<command> - Opens last person's inventory.
|
/<command> - Opens last person's inventory.
|
||||||
/<command> <player> - Opens a player's inventory.
|
/<command> <player> - Opens a player's inventory.
|
||||||
|
Reference in New Issue
Block a user