diff options
| author | BuildTools <james.jenour@protonmail.com> | 2021-05-06 08:03:15 +0800 |
|---|---|---|
| committer | BuildTools <james.jenour@protonmail.com> | 2021-05-06 08:03:15 +0800 |
| commit | 9aa7b49d224bfde055e12bc84f6908ba0a50090d (patch) | |
| tree | 3485af44e6570b143867ec8867c123435244643e /src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DwarvenMinesTextures.java | |
| parent | 03b9a8dbcc1ebd5f8c39e4733a741a4092ab0a1d (diff) | |
| download | notenoughupdates-9aa7b49d224bfde055e12bc84f6908ba0a50090d.tar.gz notenoughupdates-9aa7b49d224bfde055e12bc84f6908ba0a50090d.tar.bz2 notenoughupdates-9aa7b49d224bfde055e12bc84f6908ba0a50090d.zip | |
fine ironman
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 | 3 |
1 files changed, 3 insertions, 0 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 caa1441c..65b47ec0 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DwarvenMinesTextures.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DwarvenMinesTextures.java @@ -50,6 +50,7 @@ public class DwarvenMinesTextures { private static boolean error = false; public static int retexture(BlockPos pos) { + if(!NotEnoughUpdates.INSTANCE.config.mining.dwarvenTextures) return 0; if(error) return 0; if(Minecraft.getMinecraft().theWorld == null) return 0; @@ -220,6 +221,8 @@ public class DwarvenMinesTextures { //Don't render clay - mesaPlateau_F public static void tick() { + if(!NotEnoughUpdates.INSTANCE.config.mining.dwarvenTextures) return; + time = System.currentTimeMillis(); Set<ChunkCoordIntPair> remove = new HashSet<>(); for(Map.Entry<ChunkCoordIntPair, Long> entry : lastRetextureCheck.entrySet()) { |
