Archived
0

fix: Location (setWorld)

This commit is contained in:
2018-08-12 23:40:02 +03:00
parent d4785cda14
commit 0cf51120c0
3 changed files with 21 additions and 4 deletions

View File

@@ -38,6 +38,7 @@ public class InMemoryPlayerManager implements PlayerManager, Runnable {
player.setName(name);
player.getLocation().setXYZ(defaultLocation);
player.getLocation().setYawPitch(defaultLocation);
player.getLocation().setWorld(defaultLocation.getWorld());
player.setSettings(new PlayerSettings());
synchronized (lock) {