Fix very rare case when you land on edge of block and don't die from fall damage.

This commit is contained in:
UnknownShadow200 2017-09-21 10:57:05 +10:00
parent b7a2b259ed
commit ab7ba194fd

View File

@ -128,7 +128,7 @@ namespace MCGalaxy.Maths {
if (model.CaselessEq("skeleton")) return new Vec3S32(16, 60, 16); if (model.CaselessEq("skeleton")) return new Vec3S32(16, 60, 16);
if (model.CaselessEq("spider")) return new Vec3S32(30, 24, 30); if (model.CaselessEq("spider")) return new Vec3S32(30, 24, 30);
return new Vec3S32(16, 56, 16); // default humanoid size return new Vec3S32(18, 56, 18); // default humanoid size
} }
public static bool IntersectsSolidBlocks(AABB bb, Level lvl) { public static bool IntersectsSolidBlocks(AABB bb, Level lvl) {