YeS
parent
1ba263f088
commit
f4f49cdac7
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue