Prevent portal activating in the Nether

This commit is contained in:
Aleksey 2020-10-30 22:35:40 +03:00
parent 37cd89d3f2
commit adf2494c9a
2 changed files with 2 additions and 2 deletions

View file

@ -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() {