Remove more debug code

This commit is contained in:
Us3ful-dev 2026-03-23 07:58:21 +01:00
parent d3c3770c7e
commit bba7d1d11a

View file

@ -111,7 +111,6 @@ bool PortalTile::trySpawnPortal(Level *level, int x, int y, int z, bool actually
bool twoPosible = false; // two neth portals posible (x and z direction)
if (xd == zd)
{
level->setTileAndData(x, y + 4, z, Tile::emeraldOre_Id, 0, Tile::UPDATE_CLIENTS);
if (xd == 1) twoPosible = true;
else return false;
}
@ -124,7 +123,6 @@ bool PortalTile::trySpawnPortal(Level *level, int x, int y, int z, bool actually
}
else if (level->getTile(x, y, z - zd) == 0 && !twoPosible)
{
level->setTileAndData(x, y + 5, z, Tile::emeraldOre_Id, 0, Tile::UPDATE_CLIENTS);
z--;
}