From b5d6cf047c52bfcfea034827cf90b7680f7a8437 Mon Sep 17 00:00:00 2001 From: ShadowRanger Date: Tue, 21 Jul 2015 09:29:34 +1000 Subject: [PATCH 1/2] Bump version for release --- pom.xml | 2 +- src/main/java/com/lishid/openinv/OpenInv.java | 2 +- src/main/resources/plugin.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index d5c672a..5e04afb 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.lishid openinv jar - 2.3.2 + 2.3.3 OpenInv http://dev.bukkit.org/bukkit-plugins/openinv/ diff --git a/src/main/java/com/lishid/openinv/OpenInv.java b/src/main/java/com/lishid/openinv/OpenInv.java index 71773f1..1e6c25d 100644 --- a/src/main/java/com/lishid/openinv/OpenInv.java +++ b/src/main/java/com/lishid/openinv/OpenInv.java @@ -159,7 +159,7 @@ public class OpenInv extends JavaPlugin { } public static boolean getPlayerItemOpenInvStatus(Player player) { - return mainPlugin.getConfig().getBoolean("toggles.items.open-inv" + player.getUniqueId(), false); + return mainPlugin.getConfig().getBoolean("toggles.items.open-inv." + player.getUniqueId(), false); } public static void setPlayerItemOpenInvStatus(Player player, boolean status) { diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 6e7d602..59fab5a 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ name: OpenInv main: com.lishid.openinv.OpenInv -version: 2.3.2 +version: 2.3.3 author: lishid description: > This plugin allows you to open a player's inventory as a chest and interact with it in real time. From cd405a9b9eb28bb5fe927335de14d3b8d7cdb76b Mon Sep 17 00:00:00 2001 From: ShadowRanger Date: Tue, 21 Jul 2015 09:43:06 +1000 Subject: [PATCH 2/2] Minor fix/change --- src/main/java/com/lishid/openinv/OpenInv.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/lishid/openinv/OpenInv.java b/src/main/java/com/lishid/openinv/OpenInv.java index 1e6c25d..8bf491c 100644 --- a/src/main/java/com/lishid/openinv/OpenInv.java +++ b/src/main/java/com/lishid/openinv/OpenInv.java @@ -151,7 +151,7 @@ public class OpenInv extends JavaPlugin { } public static boolean getPlayerAnyChestStatus(Player player) { - return mainPlugin.getConfig().getBoolean("toggles.any-chest." + player.getUniqueId(), false); + return mainPlugin.getConfig().getBoolean("toggles.any-chest." + player.getUniqueId(), true); } public static void setPlayerAnyChestStatus(Player player, boolean status) {