mirror of
https://github.com/Minestom/Minestom.git
synced 2024-07-01 08:54:57 +02:00
Remove unit conversion
This commit is contained in:
parent
adf0e06888
commit
811531da70
|
@ -1727,10 +1727,6 @@ public class Entity implements Viewable, Tickable, EventHandler<EntityEvent>, Da
|
||||||
this.gravityDragPerTick = 0.02;
|
this.gravityDragPerTick = 0.02;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Values are in blocks/tick, convert them to blocks/second
|
|
||||||
gravityAcceleration *= MinecraftServer.TICK_PER_SECOND;
|
|
||||||
gravityDragPerTick *= MinecraftServer.TICK_PER_SECOND;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum Pose {
|
public enum Pose {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user