fix: neoapps dysfunctional build script

This commit is contained in:
Fireblade
2026-05-05 23:20:16 -04:00
parent 8ccb2b6741
commit f8e4f6376e
287 changed files with 4143 additions and 4710 deletions
+2 -2
View File
@@ -337,7 +337,7 @@ void WitherBoss::newServerAiStep()
int ty = feet + yStep;
int tz = oz + zStep;
int tile = level->getTile(tx, ty, tz);
if (tile > 0 && tile != Tile::unbreakable_Id && tile != Tile::endPortalTile_Id && tile != Tile::endPortalFrameTile_Id)
if (tile > 0 && tile != Tile::bedrock_Id && tile != Tile::end_portal_Id && tile != Tile::end_portal_frame_Id)
{
destroyed = level->destroyTile(tx, ty, tz, true) || destroyed;
}
@@ -495,7 +495,7 @@ bool WitherBoss::hurt(DamageSource *source, float dmg)
void WitherBoss::dropDeathLoot(bool wasKilledByPlayer, int playerBonusLevel)
{
spawnAtLocation(Item::netherStar_Id, 1);
spawnAtLocation(Item::nether_star_Id, 1);
}
void WitherBoss::checkDespawn()