pull/12/head
hYdos 2020-02-28 16:27:51 +10:00
parent 1ba263f088
commit f4f49cdac7
2 changed files with 1 additions and 3 deletions

View File

@ -22,7 +22,7 @@ public abstract class Dimension<T extends ChunkGenerator>
}
public WorldModifier[] getWorldModifierArray()
{ return this.worldModifiers.toArray(WorldModifier[]::new); }
{ return this.worldModifiers.toArray(new WorldModifier[0]); }
public abstract T createChunkGenerator(long seed);

View File

@ -19,7 +19,6 @@ public class Player extends RenderObject
public void move(RelativeDirection direction)
{
float ry = this.getRotY();
switch (direction)
{
case FORWARD:
@ -64,6 +63,5 @@ public class Player extends RenderObject
upwardsSpeed += Constants.gravity.y() * Window.getTime();
isInAir = false;
upwardsSpeed = 0;
// super.getPosition().y = 0;
}
}