mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-11-01 03:29:18 +00:00
Prefix player join/exit.
This commit is contained in:
parent
114372194a
commit
1c14889bdf
|
@ -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