/** * Set player as offline * * @param player */ public void playerLogoff(Player player) { PlayerEntry data = getPlayerEntry(player); data.setOnline(false); data.setOutsideLocation(null); }
/** * Updates a player's last known location outside an entry field * * @param player */ public void updateOutsideLocation(Player player) { PlayerEntry data = getPlayerEntry(player); data.setOutsideLocation(player.getLocation()); }