mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 14:21:33 +00:00
return, dumb
This commit is contained in:
@@ -86,11 +86,13 @@ public class TreeManager implements Listener {
|
|||||||
if (worldAccess.getCompound() == null) {
|
if (worldAccess.getCompound() == null) {
|
||||||
Iris.debug(this.getClass().getName() + " passed off to vanilla because dimension compound is null");
|
Iris.debug(this.getClass().getName() + " passed off to vanilla because dimension compound is null");
|
||||||
Iris.reportError(new NullPointerException(event.getWorld().getName() + " is accessible but does not have compound"));
|
Iris.reportError(new NullPointerException(event.getWorld().getName() + " is accessible but does not have compound"));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (worldAccess.getCompound().getRootDimension() == null) {
|
if (worldAccess.getCompound().getRootDimension() == null) {
|
||||||
Iris.debug(this.getClass().getName() + " passed off to vanilla because compound's root dimension is null");
|
Iris.debug(this.getClass().getName() + " passed off to vanilla because compound's root dimension is null");
|
||||||
Iris.reportError(new NullPointerException(event.getWorld().getName() + " is accessible & has compound but has no root dimension"));
|
Iris.reportError(new NullPointerException(event.getWorld().getName() + " is accessible & has compound but has no root dimension"));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!worldAccess.getCompound().getRootDimension().getTreeSettings().isEnabled()) {
|
if (!worldAccess.getCompound().getRootDimension().getTreeSettings().isEnabled()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user