mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Remove more debug code
This commit is contained in:
parent
d3c3770c7e
commit
bba7d1d11a
|
|
@ -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)
|
bool twoPosible = false; // two neth portals posible (x and z direction)
|
||||||
if (xd == zd)
|
if (xd == zd)
|
||||||
{
|
{
|
||||||
level->setTileAndData(x, y + 4, z, Tile::emeraldOre_Id, 0, Tile::UPDATE_CLIENTS);
|
|
||||||
if (xd == 1) twoPosible = true;
|
if (xd == 1) twoPosible = true;
|
||||||
else return false;
|
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)
|
else if (level->getTile(x, y, z - zd) == 0 && !twoPosible)
|
||||||
{
|
{
|
||||||
level->setTileAndData(x, y + 5, z, Tile::emeraldOre_Id, 0, Tile::UPDATE_CLIENTS);
|
|
||||||
z--;
|
z--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue