Skip to content

Commit

Permalink
fix(api): do not load already loaded modded translations (fixes #78) (#…
Browse files Browse the repository at this point in the history
…79)

(cherry picked from commit d6614bd)
  • Loading branch information
axieum committed Jun 10, 2023
1 parent 8a9221b commit 2aaf1ba
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 85 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,14 @@

import me.shedaniel.autoconfig.ConfigData;
import me.shedaniel.autoconfig.annotation.Config;
import me.shedaniel.autoconfig.annotation.ConfigEntry.Gui.RequiresRestart;
import me.shedaniel.cloth.clothconfig.shadowed.blue.endless.jankson.Comment;

import net.minecraft.util.Language;

/**
* Minecord translations configuration schema.
*/
@Config(name = "i18n")
public class I18nConfig implements ConfigData
{
/** The language code used to load translations from. */
@Comment("The language code used to load translations from")
@RequiresRestart
public String lang = Language.DEFAULT_LANGUAGE;

/** The name of the Minecraft server in system messages. */
@Comment("The name of the Minecraft server in system messages")
public String serverName = "Server";
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion minecord-api/src/main/resources/minecord.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"mixins": [],
"server": [
"CrashReportAccessor",
"LanguageMixin",
"MinecraftServerMixin"
],
"client": [],
Expand Down

0 comments on commit 2aaf1ba

Please sign in to comment.