mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Co-authored-by: NotMyFault <mc.cache@web.de>
This commit is contained in:
parent
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user