player invisible

pull/12/head
valoeghese 2020-02-28 16:48:06 +13:00
parent 887e03e8f0
commit e5e00b4b7e
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ public class World implements BlockAccess, WorldGenConstants
{
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.isVisible = false;
}
// this constructor will likely not be neccesary when we have dynamic chunkloading