mirror of
https://github.com/TotalFreedomMC/OpenInv.git
synced 2024-12-22 16:05:03 +00:00
More fixes and improvements - continued
This commit is contained in:
parent
471b631838
commit
d1d60e55d5
4 changed files with 1 additions and 6 deletions
|
@ -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);
|
||||
|
|
|
@ -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")) {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
config-version: 2
|
||||
check-for-updates: true
|
||||
notify:
|
||||
any-chest: true
|
||||
silent-chest: true
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue