fix: neoapps dysfunctional build script
This commit is contained in:
@@ -113,7 +113,7 @@ void TntTile::destroy(Level *level, int x, int y, int z, int data, shared_ptr<Li
|
||||
bool TntTile::use(Level *level, int x, int y, int z, shared_ptr<Player> player, int clickedFace, float clickX, float clickY, float clickZ, bool soundOnly/*=false*/) // 4J added soundOnly param
|
||||
{
|
||||
if (soundOnly) return false;
|
||||
if (player->getSelectedItem() != nullptr && player->getSelectedItem()->id == Item::flintAndSteel_Id)
|
||||
if (player->getSelectedItem() != nullptr && player->getSelectedItem()->id == Item::flint_and_steel_Id)
|
||||
{
|
||||
destroy(level, x, y, z, EXPLODE_BIT, player);
|
||||
level->removeTile(x, y, z);
|
||||
|
||||
Reference in New Issue
Block a user