From 9819405e9d7242de8d5d805df25876ac52242376 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Tue, 26 Nov 2013 17:08:23 -0700 Subject: [PATCH] Add toLowerCase() to Pick up notifications. --- BankEconomyMod/src/me/kaZep/Base/PlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BankEconomyMod/src/me/kaZep/Base/PlayerListener.java b/BankEconomyMod/src/me/kaZep/Base/PlayerListener.java index 32df212..3281539 100644 --- a/BankEconomyMod/src/me/kaZep/Base/PlayerListener.java +++ b/BankEconomyMod/src/me/kaZep/Base/PlayerListener.java @@ -6977,7 +6977,7 @@ implements Listener @EventHandler public void onPlayerPickup(PlayerPickupItemEvent e) { - if (this.plugin.getAccountsConfig().getBoolean(e.getPlayer().getName()+".settings.notify1")) { + if (this.plugin.getAccountsConfig().getBoolean(e.getPlayer().getName().toLowerCase()+".settings.notify1")) { Player p = e.getPlayer(); String temp = e.getItem().getItemStack().getType().name().replace("_", " "); char[] mod = temp.toCharArray();