Some stuff

This commit is contained in:
brausjonas
2022-05-16 20:10:40 +02:00
parent dd3cb12698
commit 5e816c08f0
3 changed files with 2 additions and 9 deletions
@@ -387,8 +387,8 @@ public class Player : MonoBehaviour
public Vector3 GetDefaultPlayerPosition()
{
return new Vector3((byte)transform.position.x,
world.GetHeight((byte)transform.position.x, (byte)transform.position.z) + 2, (byte)transform.position.z);
return new Vector3(world.worldSize * Data.chunkWidth / 2,
world.GetHeight((byte)transform.position.x, (byte)transform.position.z) + 2, world.worldSize * Data.chunkWidth / 2);
}
}
Binary file not shown.
-7
View File
@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 940041af630d8d944ac3b74467aa4ae7
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: