diff options
author | cflep <62251178+cflep@users.noreply.github.com> | 2020-12-18 22:10:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-18 22:10:14 +0100 |
commit | 7fbe4a0126011807214cba8299a23a6320b730e5 (patch) | |
tree | cf1a89f9d3e8c25c769f4323765e0c9814b79bab /src | |
parent | Added the ability for white beds to be dyed (#5077) (diff) | |
download | cuberite-7fbe4a0126011807214cba8299a23a6320b730e5.tar cuberite-7fbe4a0126011807214cba8299a23a6320b730e5.tar.gz cuberite-7fbe4a0126011807214cba8299a23a6320b730e5.tar.bz2 cuberite-7fbe4a0126011807214cba8299a23a6320b730e5.tar.lz cuberite-7fbe4a0126011807214cba8299a23a6320b730e5.tar.xz cuberite-7fbe4a0126011807214cba8299a23a6320b730e5.tar.zst cuberite-7fbe4a0126011807214cba8299a23a6320b730e5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockFire.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |