mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-23 07:54:58 +00:00
Prefix player join/exit.
This commit is contained in:
parent
114372194a
commit
1c14889bdf
1 changed files with 3 additions and 3 deletions
|
@ -665,7 +665,7 @@ public class TFM_PlayerListener implements Listener
|
|||
}
|
||||
|
||||
// Log player quitting, because 1.7 doesn't do this
|
||||
log.info(player.getName() + " left the game.");
|
||||
log.info("[EXIT] " + player.getName() + " left the game.");
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.MONITOR)
|
||||
|
@ -685,7 +685,7 @@ public class TFM_PlayerListener implements Listener
|
|||
}
|
||||
|
||||
// Log player quitting, because 1.7 doesn't do this
|
||||
log.info(player.getName() + " left the game.");
|
||||
log.info("[EXIT] " + player.getName() + " left the game.");
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.MONITOR)
|
||||
|
@ -699,7 +699,7 @@ public class TFM_PlayerListener implements Listener
|
|||
final String IP = player.getAddress().getAddress().getHostAddress().trim();
|
||||
|
||||
// Log join message, as 1.7 doesn't log it anymore
|
||||
log.info(player.getName() + " joined the game with IP address: " + IP);
|
||||
log.info("[JOIN] " + player.getName() + " joined the game with IP address: " + IP);
|
||||
|
||||
TFM_UserList.getInstance(TotalFreedomMod.plugin).addUser(player);
|
||||
|
||||
|
|
Loading…
Reference in a new issue