Ensure UUID is never null at login. Amends #214 and fixes #229

This commit is contained in:
unknown 2014-06-30 19:08:58 +02:00
parent 7598d211cd
commit a0d5743232
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Mon Jun 30 17:50:54 CEST 2014
build.number=912
#Mon Jun 30 19:03:45 CEST 2014
build.number=915

View file

@ -70,7 +70,7 @@ public class TFM_ServerInterface
final Player player = event.getPlayer();
final String username = player.getName();
final UUID uuid = TFM_UuidResolver.getUUIDOf(username);
final UUID uuid = TFM_Util.getUuid(username);
final String ip = event.getAddress().getHostAddress().trim();
if (username.length() < 3 || username.length() > 20)