Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Co-authored-by: NotMyFault <mc.cache@web.de>
Dieser Commit ist enthalten in:
Ursprung
e2924f4cba
Commit
2eb6451810
@ -26,6 +26,7 @@ import com.google.gson.reflect.TypeToken;
|
|||||||
import com.sk89q.worldedit.util.formatting.text.Component;
|
import com.sk89q.worldedit.util.formatting.text.Component;
|
||||||
import com.sk89q.worldedit.util.formatting.text.renderer.TranslatableComponentRenderer;
|
import com.sk89q.worldedit.util.formatting.text.renderer.TranslatableComponentRenderer;
|
||||||
import com.sk89q.worldedit.util.io.ResourceLoader;
|
import com.sk89q.worldedit.util.io.ResourceLoader;
|
||||||
|
import com.sk89q.worldedit.util.io.file.ArchiveUnpacker;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
@ -96,6 +97,10 @@ public class TranslationManager {
|
|||||||
this.resourceLoader = resourceLoader;
|
this.resourceLoader = resourceLoader;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public TranslationManager(ArchiveUnpacker archiveUnpacker, ResourceLoader resourceLoader) {
|
||||||
|
this(resourceLoader);
|
||||||
|
}
|
||||||
|
|
||||||
public void setDefaultLocale(Locale defaultLocale) {
|
public void setDefaultLocale(Locale defaultLocale) {
|
||||||
this.defaultLocale = defaultLocale;
|
this.defaultLocale = defaultLocale;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren