From c09a4bf6a8e43d3b7e9473b33c68ffee943f59ac Mon Sep 17 00:00:00 2001 From: Hikari_Nova <3044344887@qq.com> Date: Tue, 27 Aug 2024 19:47:26 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=20x=202=E3=80=82=20-=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E4=B8=80=E6=AE=B5=E6=B3=A8=E9=87=8A=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kasuminova/stellarcore/client/texture/StitcherCache.java | 4 ++-- .../stellarcore/common/config/StellarCoreConfig.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/github/kasuminova/stellarcore/client/texture/StitcherCache.java b/src/main/java/github/kasuminova/stellarcore/client/texture/StitcherCache.java index ab752d7..46c8a04 100644 --- a/src/main/java/github/kasuminova/stellarcore/client/texture/StitcherCache.java +++ b/src/main/java/github/kasuminova/stellarcore/client/texture/StitcherCache.java @@ -146,8 +146,8 @@ public void parseTag(final Stitcher stitcher, final Set targetH public boolean holdersEquals(Set targetHolders) { if (targetHolders.size() != this.holders.size()) { - StellarCore.log.warn("[StellarCore-StitcherCache] Stitcher cache may be unavailable, holders size not equals ({} ≠ {}).", targetHolders.size(), this.holders.size()); -// return false; + StellarCore.log.warn("[StellarCore-StitcherCache] Stitcher cache is unavailable, holders size not equals ({} ≠ {}).", targetHolders.size(), this.holders.size()); + return false; } Map holders = new Object2ObjectOpenHashMap<>(this.holders); for (final Stitcher.Holder holder : targetHolders) { diff --git a/src/main/java/github/kasuminova/stellarcore/common/config/StellarCoreConfig.java b/src/main/java/github/kasuminova/stellarcore/common/config/StellarCoreConfig.java index 1353be8..6577521 100644 --- a/src/main/java/github/kasuminova/stellarcore/common/config/StellarCoreConfig.java +++ b/src/main/java/github/kasuminova/stellarcore/common/config/StellarCoreConfig.java @@ -660,7 +660,7 @@ public static class Vanilla { }) @Config.RequiresMcRestart @Config.Name("StitcherCache") - public boolean stitcherCache = true; + public boolean stitcherCache = false; @Config.Comment({ "(Client Performance) Caches the state of existence of each resource file in the ResourcePack,",