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
+4 -4
View File
@@ -40,11 +40,11 @@ bool SignItem::useOn(shared_ptr<ItemInstance> instance, shared_ptr<Player> playe
if (face == 1)
{
int rot = Mth::floor(((player->yRot + 180) * 16) / 360 + 0.5) & 15;
level->setTileAndData(x, y, z, Tile::sign_Id, rot, Tile::UPDATE_ALL);
level->setTileAndData(x, y, z, Tile::standing_sign_Id, rot, Tile::UPDATE_ALL);
}
else
{
level->setTileAndData(x, y, z, Tile::wallSign_Id, face, Tile::UPDATE_ALL);
level->setTileAndData(x, y, z, Tile::wall_standing_sign_Id, face, Tile::UPDATE_ALL);
}
instance->count--;
@@ -53,9 +53,9 @@ bool SignItem::useOn(shared_ptr<ItemInstance> instance, shared_ptr<Player> playe
// 4J-JEV: Hook for durango 'BlockPlaced' event.
player->awardStat(
GenericStats::blocksPlaced((face==1) ? Tile::sign_Id : Tile::wallSign_Id),
GenericStats::blocksPlaced((face==1) ? Tile::standing_sign_Id : Tile::wall_standing_sign_Id),
GenericStats::param_blocksPlaced(
(face==1) ? Tile::sign_Id : Tile::wallSign_Id,
(face==1) ? Tile::standing_sign_Id : Tile::wall_standing_sign_Id,
instance->getAuxValue(),
1)
);