} else {
PwiLogger.warning("[ECON] Unable to withdraw currency from bank of '" + player.getName() + "': " + er.errorMessage);
}
}
}
<BUG>private PWIPlayer getCachedPlayer(Group group, GameMode gameMode, UUID uuid) {
String key = uuid.toString() + "." + group.getName() + ".";
if (settings.getProperty(PwiProperties.SEPARATE_GAMEMODE_INVENTORIES))
key += gameMode.toString().toLowerCase();
else
key += "survival";</BUG>
PwiLogger.debug("Looking for cached data with key '" + key + "'");

} else {
PwiLogger.warning("[ECON] Unable to withdraw currency from '" + player.getName() + "': " + er.errorMessage);
}
EconomyResponse bankER = econ.bankWithdraw(player.getName(), econ.bankBalance(player.getName()).amount);
if (bankER.transactionSuccess()) {
econ.bankDeposit(player.getName(), cachedPlayer.getBankBalance());
} else {
PwiLogger.warning("[ECON] Unable to withdraw currency from bank of '" + player.getName() + "': " + er.errorMessage);
}
}
}
private PWIPlayer getCachedPlayer(Group group, GameMode gameMode, UUID uuid) {
String key = makeKey(uuid, group, gameMode);
PwiLogger.debug("Looking for cached data with key '" + key + "'");
