Skip to content

Commit dccc8e6

Browse files
committed
return null in IdwtialsimmoedmCompat when enchantment does not need obfuscating #343
1 parent 98bed87 commit dccc8e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ yarn_mappings=1.20.1+build.10
77
loader_version=0.15.6
88

99
# Mod Properties
10-
mod_version=1.7.5
10+
mod_version=1.7.6
1111
maven_group=de.dafuqs.spectrum
12-
archives_base_name=spectrum-1.7.5-deeper-down
12+
archives_base_name=spectrum-deeper-down
1313

1414
# Dependencies
1515
# https://fabricmc.net/develop/

src/main/java/de/dafuqs/spectrum/compat/idwtialsimmoedm/IdwtialsimmoedmCompat.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static void register() {
2020
if (ench instanceof SpectrumEnchantment spectrumEnchantment && !spectrumEnchantment.canEntityUse(player)) {
2121
return GatherDescriptionCallback.wrapDescription(original.copy().formatted(Formatting.OBFUSCATED));
2222
}
23-
return DefaultDescriptions.forEnchantmentFormatted(ench);
23+
return null;
2424
});
2525
}
2626
}

0 commit comments

Comments
 (0)