Archived
0

изменен механизм установки спавна

This commit is contained in:
2018-08-26 00:34:02 +03:00
parent dff4367c3e
commit 15ba4aeda9
2 changed files with 6 additions and 4 deletions

View File

@@ -34,9 +34,8 @@ public class SimpleWorld implements World {
}
@Override
public void setSpawn(EntityLocation location) {
this.spawn = location;
this.spawn.setWorld(this);
public void setSpawn(double x, double y, double z, float yaw, float pitch) {
this.spawn = new EntityLocation(x, y, z, yaw, pitch, this);
}
@Override