예제 #1
0
 /**
  * Set player as offline
  *
  * @param player
  */
 public void playerLogoff(Player player) {
   PlayerEntry data = getPlayerEntry(player);
   data.setOnline(false);
   data.setOutsideLocation(null);
 }
예제 #2
0
 /**
  * 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());
 }