Skip to content

Commit ba6d0d2

Browse files
committed
Stop looking for legacy cache file names
Related: #485
1 parent 14a89f9 commit ba6d0d2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

common/src/main/java/org/embeddedt/modernfix/structure/CachingStructureManager.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ public static CompoundTag readStructureTag(ResourceLocation location, DataFixer
7070
hasher.reset();
7171
String hash = encodeHex(hasher.digest(structureBytes));
7272
CompoundTag cachedUpgraded = getCachedUpgraded(location, truncateHash(hash));
73-
if(cachedUpgraded == null)
74-
cachedUpgraded = getCachedUpgraded(location, hash); /* pick up old cache */
7573
if(cachedUpgraded != null && cachedUpgraded.getInt("DataVersion") == requiredMinimumDataVersion) {
7674
ModernFix.LOGGER.debug("Using cached upgraded version of {}", location);
7775
currentTag = cachedUpgraded;

0 commit comments

Comments
 (0)