mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Log player messages
This commit is contained in:
parent
9c61cc2768
commit
d7ed667b89
@ -1,3 +1,3 @@
|
||||
#Build Number for ANT. Do not edit!
|
||||
#Tue Dec 17 16:24:16 CET 2013
|
||||
build.number=682
|
||||
#Tue Dec 17 17:32:25 CET 2013
|
||||
build.number=686
|
||||
|
@ -536,6 +536,9 @@ public class TFM_PlayerListener implements Listener
|
||||
|
||||
// Finally, set message
|
||||
event.setMessage(message);
|
||||
|
||||
// Broadcast it to console (since 1.7 doesn't do that anymore)
|
||||
TFM_Log.info(String.format(event.getFormat(), player.getDisplayName(), event.getMessage()), true);
|
||||
|
||||
// Set the tag
|
||||
if (playerdata.getTag() != null)
|
||||
|
Loading…
Reference in New Issue
Block a user