From c1c4562b42d53ec2e8885c48f97249d7768fe1c7 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Thu, 22 Jul 2021 15:40:21 +0800 Subject: PRE29.05 --- .../notenoughupdates/miscfeatures/DwarvenMinesTextures.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DwarvenMinesTextures.java') 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; -- cgit