Some stuff
This commit is contained in:
@@ -387,8 +387,8 @@ public class Player : MonoBehaviour
|
|||||||
|
|
||||||
public Vector3 GetDefaultPlayerPosition()
|
public Vector3 GetDefaultPlayerPosition()
|
||||||
{
|
{
|
||||||
return new Vector3((byte)transform.position.x,
|
return new Vector3(world.worldSize * Data.chunkWidth / 2,
|
||||||
world.GetHeight((byte)transform.position.x, (byte)transform.position.z) + 2, (byte)transform.position.z);
|
world.GetHeight((byte)transform.position.x, (byte)transform.position.z) + 2, world.worldSize * Data.chunkWidth / 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 940041af630d8d944ac3b74467aa4ae7
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
Reference in New Issue
Block a user