Use motY = 0.5 instead of calling bf()

This commit is contained in:
fullwall 2012-10-30 14:58:35 +08:00
parent 865c7460b4
commit 10841ed146

View File

@ -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