player invisible
parent
887e03e8f0
commit
e5e00b4b7e
|
@ -46,6 +46,7 @@ public class World implements BlockAccess, WorldGenConstants
|
||||||
{
|
{
|
||||||
TexturedModel dirtModel = ModelLoader.loadGenericCube("block/cubes/soil/dirt.png");
|
TexturedModel dirtModel = ModelLoader.loadGenericCube("block/cubes/soil/dirt.png");
|
||||||
this.player = new Player(dirtModel, new Vector3f(x, y, z), 0, 180f, 0, new Vector3f(0.2f, 0.2f, 0.2f));
|
this.player = new Player(dirtModel, new Vector3f(x, y, z), 0, 180f, 0, new Vector3f(0.2f, 0.2f, 0.2f));
|
||||||
|
this.player.isVisible = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// this constructor will likely not be neccesary when we have dynamic chunkloading
|
// this constructor will likely not be neccesary when we have dynamic chunkloading
|
||||||
|
|
Loading…
Reference in New Issue