diff --git a/src/Blocks/BlockFire.h b/src/Blocks/BlockFire.h index 280b24a03..8e1f7df9a 100644 --- a/src/Blocks/BlockFire.h +++ b/src/Blocks/BlockFire.h @@ -42,6 +42,12 @@ private: - Loop through boundary variables, and fill with portal blocks based on Dir with meta from Dir */ + if (a_WorldInterface.GetDimension() == dimEnd) + { + // Can only create portals in the Nether and Overworld (GH #5009): + return; + } + Scratch Scratch; // a_BlockY - 1: Because we want the block below the fire