Skip to content

Commit

Permalink
fix: fix a small incompat with lavender
Browse files Browse the repository at this point in the history
  • Loading branch information
CallMeEchoCodes committed Oct 26, 2024
1 parent 0158b2c commit 6217c53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
org.gradle.jvmargs=-Xmx2G
org.gradle.parallel=true
mod.version=1.0.5
mod.version=1.0.6
mod.group=dev.spiritstudios.specter
mod.id=specter
deps.minecraft=1.21
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class TranslationStorageMixin implements TextTranslationSupplier {

@ModifyReturnValue(method = "load(Lnet/minecraft/resource/ResourceManager;Ljava/util/List;Z)Lnet/minecraft/client/resource/language/TranslationStorage;", at = @At("RETURN"))
private static TranslationStorage load(TranslationStorage original) {
((TranslationStorageMixin) (Object) original).textTranslations = SpecterSerialization.TEXT_TRANSLATIONS_BUILDER.get().build();
((TranslationStorageMixin) (Object) original).textTranslations = SpecterSerialization.TEXT_TRANSLATIONS_BUILDER.get().buildKeepingLast();

SpecterSerialization.TEXT_TRANSLATIONS_BUILDER.remove();
return original;
Expand Down

0 comments on commit 6217c53

Please sign in to comment.