diff options
| author | DoKM <mcazzyman@gmail.com> | 2021-07-22 09:57:31 +0200 |
|---|---|---|
| committer | DoKM <mcazzyman@gmail.com> | 2021-07-22 09:57:31 +0200 |
| commit | befa3f0f8aeb0166bf84dddd14f6b4fabc236cf0 (patch) | |
| tree | 4ef5014cf74f57ef52fa2650703de7b8f1153f6c /src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DwarvenMinesTextures.java | |
| parent | aebc16a2a5ca9c20affc27eb5a45cd9a95085168 (diff) | |
| parent | c1c4562b42d53ec2e8885c48f97249d7768fe1c7 (diff) | |
| download | notenoughupdates-befa3f0f8aeb0166bf84dddd14f6b4fabc236cf0.tar.gz notenoughupdates-befa3f0f8aeb0166bf84dddd14f6b4fabc236cf0.tar.bz2 notenoughupdates-befa3f0f8aeb0166bf84dddd14f6b4fabc236cf0.zip | |
Fix merge conflicts for moulberry
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DwarvenMinesTextures.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DwarvenMinesTextures.java | 7 |
1 files changed, 5 insertions, 2 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; |
