Log player messages

This commit is contained in:
unknown 2013-12-17 17:33:17 +01:00
parent 9c61cc2768
commit d7ed667b89
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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)