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.