@Override
public void readData(GlowPlayer player) {
File playerFile = getPlayerFile(player.getUniqueId());
CompoundTag playerTag = new CompoundTag();
if (playerFile.exists()) {
try (NBTInputStream in = new NBTInputStream(new FileInputStream(playerFile))) {
playerTag = in.readCompound();
} catch (IOException e) {
player.kickPlayer("Failed to read player data!");
server.getLogger().log(Level.SEVERE, "Failed to read data for " + player.getName() + ": " + playerFile, e);
}
}