fix: final few bugs

This commit is contained in:
Fireblade committed 2026-06-18 23:46:42 -04:00
1 parent 9c17e1441e
commit a260f5fbd9
2 files changed
+122 -47

No files matched your search

+4 -4
View File
@@ -49,11 +49,11 @@ void SlimeTile::fallOn(Level *level, int x, int y, int z,
entity->fallDistance = 0.0f;
if (entity->isSneaking())
return;
if (std::abs(entity->yd) < 0.1f)
if (entity->isSneaking() || std::abs(entity->yd) < 0.1f)
{
entity->yd = 0.0f;
return;
}
if (entity->yd < 0.0f)
{