} else {
PwiLogger.debug("Player was not in cache! Loading from file");
dataWriter.getFromDatabase(group, gamemode, player);
}
}
<BUG>public void savePlayer(Group group, Player player, boolean async) {
String key = player.getUniqueId().toString() + "." + group.getName() + ".";
if (settings.getProperty(PwiProperties.SEPARATE_GAMEMODE_INVENTORIES))
key += player.getGameMode().toString().toLowerCase();
else
key += "survival";</BUG>
playerCache.remove(key);

} else {
PwiLogger.debug("Player was not in cache! Loading from file");
dataWriter.getFromDatabase(group, gamemode, player);
}
}
public void savePlayer(Group group, Player player, boolean async) {
String key = makeKey(player.getUniqueId(), group, player.getGameMode());
playerCache.remove(key);
