From 6ea09dc9646d4accc7d22c8b89d6dd374dd5c5bc Mon Sep 17 00:00:00 2001 From: LulzFTW Date: Mon, 20 Jul 2015 15:16:31 -0400 Subject: [PATCH] Fix openinv item status always being false --- 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 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) {