Prevent portal activating in the Nether
This commit is contained in:
parent
37cd89d3f2
commit
adf2494c9a
2 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,8 @@ public class EternalRitual {
|
|||
|
||||
private boolean isValid() {
|
||||
return world != null && !world.isClient() &&
|
||||
center != null && axis != null;
|
||||
center != null && axis != null &&
|
||||
world.getRegistryKey() != World.NETHER;
|
||||
}
|
||||
|
||||
public void checkStructure() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue