Added dimension check to nether portal (#5068)
+ Added dimension check to nether portal
This commit is contained in:
parent
28b8febce4
commit
7fbe4a0126
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user