From d3c3770c7e883410c8b0af1fb529d1ca59c0f1b3 Mon Sep 17 00:00:00 2001 From: Us3ful-dev Date: Fri, 20 Mar 2026 13:33:16 +0100 Subject: [PATCH] Remove unnecessary code removed PortalTile:: from PortalTile::validPortalFrame --- Minecraft.World/PortalTile.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Minecraft.World/PortalTile.cpp b/Minecraft.World/PortalTile.cpp index 186e6e173..c7c37085f 100644 --- a/Minecraft.World/PortalTile.cpp +++ b/Minecraft.World/PortalTile.cpp @@ -130,17 +130,17 @@ bool PortalTile::trySpawnPortal(Level *level, int x, int y, int z, bool actually if (!twoPosible) { - if (!PortalTile::validPortalFrame(level, x, y, z, xd, zd, actuallySpawn)) return false; + if (!validPortalFrame(level, x, y, z, xd, zd, actuallySpawn)) return false; } else { - if (!PortalTile::validPortalFrame(level, x, y, z, xd, 0, actuallySpawn)) + if (!validPortalFrame(level, x, y, z, xd, 0, actuallySpawn)) { if (changedx) x++; // revert x (this check wants to check z not x and z) if (level->getTile(x, y, z - zd) == 0) z--; - if (!PortalTile::validPortalFrame(level, x, y, z, 0, zd, actuallySpawn)) + if (!validPortalFrame(level, x, y, z, 0, zd, actuallySpawn)) return false; } }