Fix fork incompatability (instance vs. INSTANCE)

This commit is contained in:
Andrew2448 2013-06-25 18:57:43 -04:00
parent 4c4717ea49
commit 4b21b8b4f3

View file

@ -324,7 +324,7 @@ public class Config {
public static void extractLang(String[] langauges) {
for (String lang : langauges) {
InputStream inputStream = ModularPowersuits.instance.getClass().getResourceAsStream(LANG_PATH + lang + ".lang");
InputStream inputStream = ModularPowersuits.INSTANCE.getClass().getResourceAsStream(LANG_PATH + lang + ".lang");
try {
File file = new File(configFolder.getAbsolutePath() + "/lang/" + lang + ".lang");
if (!file.exists()) {