moved the swearing

very important business, swearing...
This commit is contained in:
Nameless-123 committed 2020-04-27 09:41:24 +02:00
1 parent a19e759039
commit 8ea79b5837
1 file changed
+1 -1
+1 -1
View File
@@ -98,7 +98,7 @@ public class MobAI
}
}
public static void jump(LivingEntity e){
public static void jump(LivingEntity e){//Most *REDACTED* up code in the world
float m = e.world.getBlockState(new BlockPos(e)).getBlock().getJumpVelocityMultiplier();
float g = e.world.getBlockState(new BlockPos(e.getX(), e.getBoundingBox().y1 - 0.5000001D, e.getZ())).getBlock().getJumpVelocityMultiplier();
float JumpVelocityMultiplier= (double)m == 1.0D ? g : m;