aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscfeatures')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DwarvenMinesTextures.java7
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/StorageManager.java2
2 files changed, 6 insertions, 3 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DwarvenMinesTextures.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DwarvenMinesTextures.java
index 65b47ec0..735243d3 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DwarvenMinesTextures.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DwarvenMinesTextures.java
@@ -54,8 +54,11 @@ public class DwarvenMinesTextures {
if(error) return 0;
if(Minecraft.getMinecraft().theWorld == null) return 0;
- if(SBInfo.getInstance().getLocation() == null) return 0;
- if(!SBInfo.getInstance().getLocation().equals("mining_3")) return 0;
+ String location = SBInfo.getInstance().getLocation();
+
+ if(location == null) return 0;
+ if(location.equals("crystal_hollows")) return 3;
+ if(!location.equals("mining_3")) return 0;
IBlockState state = Minecraft.getMinecraft().theWorld.getBlockState(pos);
boolean titanium = state.getBlock() == Blocks.stone && state.getValue(BlockStone.VARIANT) == BlockStone.EnumType.DIORITE_SMOOTH;
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/StorageManager.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/StorageManager.java
index 37a60b1b..a20e5abb 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/StorageManager.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/StorageManager.java
@@ -226,7 +226,7 @@ public class StorageManager {
}
public boolean shouldRenderStorageOverlay(String containerName) {
- if(!NotEnoughUpdates.INSTANCE.config.storageGUI.enableStorageGUI) {
+ if(!NotEnoughUpdates.INSTANCE.config.storageGUI.enableStorageGUI2) {
shouldRenderStorageOverlayCached = false;
return false;
}