mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-24 03:25:13 +01:00
Use motY = 0.5 instead of calling bf()
This commit is contained in:
parent
b45da033f8
commit
4ebb4c98b3
@ -140,8 +140,9 @@ public class EntityHumanNPC extends EntityPlayer implements NPCHolder {
|
||||
if (inLiquid) {
|
||||
motY += 0.04;
|
||||
} else //(handled elsewhere)*/
|
||||
if (onGround && Math.abs(bW) < EPSILON) {
|
||||
bf(); // jump
|
||||
if (onGround && bW == 0) {
|
||||
// bf(); // jump
|
||||
motY = 0.5F;
|
||||
bW = 10;
|
||||
}
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user