mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-12 08:27:39 +00:00
Fix any dimension without a sky getting flagged as the nether (#857)
* fix crash when connected textures are disabled, but custom colors are enabled. * Dimension Check Fix Dimension check set any dimension with no sky as the nether; this includes the end, and several custom dims such as Witchery's mirror dim, etc.
This commit is contained in:
1 parent
f22a3f612b
commit
208373deaa
1 file changed
+1
-1
@@ -537,7 +537,7 @@ public class Iris {
|
||||
if (level != null) {
|
||||
if (level.provider == null) return DimensionId.OVERWORLD;
|
||||
|
||||
if ((level.provider.isHellWorld || level.provider.hasNoSky) || level.provider.dimensionId == -1) {
|
||||
if (level.provider.isHellWorld || level.provider.dimensionId == -1) {
|
||||
return DimensionId.NETHER;
|
||||
} else if (level.provider.dimensionId == 1) {
|
||||
return DimensionId.END;
|
||||
|
||||
Reference in new issue
Block a user