fix: neoapps dysfunctional build script
This commit is contained in:
@@ -1088,7 +1088,7 @@ bool EnderDragon::checkWalls(AABB *bb)
|
||||
{
|
||||
|
||||
}
|
||||
else if (t == Tile::obsidian_Id || t == Tile::endStone_Id || t == Tile::unbreakable_Id || !level->getGameRules()->getBoolean(GameRules::RULE_MOBGRIEFING))
|
||||
else if (t == Tile::obsidian_Id || t == Tile::end_stone_Id || t == Tile::bedrock_Id || !level->getGameRules()->getBoolean(GameRules::RULE_MOBGRIEFING))
|
||||
{
|
||||
hitWall = true;
|
||||
}
|
||||
@@ -1268,7 +1268,7 @@ void EnderDragon::spawnExitPortal(int x, int z)
|
||||
}
|
||||
else
|
||||
{
|
||||
level->setTileAndUpdate(xx, yy, zz, Tile::unbreakable_Id);
|
||||
level->setTileAndUpdate(xx, yy, zz, Tile::bedrock_Id);
|
||||
}
|
||||
}
|
||||
else if (yy > y)
|
||||
@@ -1279,11 +1279,11 @@ void EnderDragon::spawnExitPortal(int x, int z)
|
||||
{
|
||||
if (d > r - 1 - 0.5)
|
||||
{
|
||||
level->setTileAndUpdate(xx, yy, zz, Tile::unbreakable_Id);
|
||||
level->setTileAndUpdate(xx, yy, zz, Tile::bedrock_Id);
|
||||
}
|
||||
else
|
||||
{
|
||||
level->setTileAndUpdate(xx, yy, zz, Tile::endPortalTile_Id);
|
||||
level->setTileAndUpdate(xx, yy, zz, Tile::end_portal_Id);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1291,15 +1291,15 @@ void EnderDragon::spawnExitPortal(int x, int z)
|
||||
}
|
||||
}
|
||||
|
||||
level->setTileAndUpdate(x, y + 0, z, Tile::unbreakable_Id);
|
||||
level->setTileAndUpdate(x, y + 1, z, Tile::unbreakable_Id);
|
||||
level->setTileAndUpdate(x, y + 2, z, Tile::unbreakable_Id);
|
||||
level->setTileAndUpdate(x, y + 0, z, Tile::bedrock_Id);
|
||||
level->setTileAndUpdate(x, y + 1, z, Tile::bedrock_Id);
|
||||
level->setTileAndUpdate(x, y + 2, z, Tile::bedrock_Id);
|
||||
level->setTileAndUpdate(x - 1, y + 2, z, Tile::torch_Id);
|
||||
level->setTileAndUpdate(x + 1, y + 2, z, Tile::torch_Id);
|
||||
level->setTileAndUpdate(x, y + 2, z - 1, Tile::torch_Id);
|
||||
level->setTileAndUpdate(x, y + 2, z + 1, Tile::torch_Id);
|
||||
level->setTileAndUpdate(x, y + 3, z, Tile::unbreakable_Id);
|
||||
level->setTileAndUpdate(x, y + 4, z, Tile::dragonEgg_Id);
|
||||
level->setTileAndUpdate(x, y + 3, z, Tile::bedrock_Id);
|
||||
level->setTileAndUpdate(x, y + 4, z, Tile::dragon_egg_Id);
|
||||
|
||||
// 4J-PB - The podium can be floating with nothing under it, so put some whiteStone under it if this is the case
|
||||
for (int yy = y - 5; yy < y - 1; yy++)
|
||||
@@ -1310,7 +1310,7 @@ void EnderDragon::spawnExitPortal(int x, int z)
|
||||
{
|
||||
if(level->isEmptyTile(xx,yy,zz))
|
||||
{
|
||||
level->setTileAndUpdate(xx, yy, zz, Tile::endStone_Id);
|
||||
level->setTileAndUpdate(xx, yy, zz, Tile::end_stone_Id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user