Fix EmailRegistration bypass session

Update to 3.5-SNAPSHOT
This commit is contained in:
Xephi
2014-08-13 22:21:25 +02:00
parent 55c7c4f9e1
commit 7ae951c4ab
3 changed files with 3 additions and 3 deletions
@@ -113,7 +113,7 @@ public class AsyncronousRegister {
try {
final String hashnew = PasswordSecurity.getHash(
Settings.getPasswordHash, password, name);
auth = new PlayerAuth(name, hashnew, getIp(), new Date().getTime(),
auth = new PlayerAuth(name, hashnew, getIp(), 0,
(int) player.getLocation().getX(), (int) player
.getLocation().getY(), (int) player.getLocation()
.getZ(), player.getLocation().getWorld().getName(),