fix: tutorial

items actually appear now yay
item frames though...
This commit is contained in:
Fireblade
2026-05-03 01:43:43 -04:00
parent 229d22ab7b
commit a7cad496e3
7 changed files with 759 additions and 7 deletions
+2
View File
@@ -112,6 +112,8 @@ void ItemEntity::tick()
{
friction = 0.6f * 0.98f;
int t = level->getTile( Mth::floor(x), Mth::floor(bb->y0) - 1, Mth::floor(z) );
Tile *tile = Tile::tiles[t];
if (tile == nullptr & t != 0) return; // tu31 tutorial world fix
if (t > 0)
{
friction = Tile::tiles[t]->friction * 0.98f;