Part 1 of refactoring/config overhaul

This commit is contained in:
nossr50
2012-04-26 07:27:57 -07:00
parent f09b055872
commit 9606dd3501
40 changed files with 385 additions and 859 deletions

View File

@ -7,7 +7,7 @@ import java.util.ResourceBundle;
import org.bukkit.ChatColor;
import com.gmail.nossr50.config.LoadProperties;
import com.gmail.nossr50.config.Config;
public class mcLocale {
private static final String BUNDLE_NAME = "com.gmail.nossr50.locale.locale";
@ -28,7 +28,7 @@ public class mcLocale {
try {
if (RESOURCE_BUNDLE == null) {
Locale.setDefault(new Locale("en", "US"));
String[] myLocale = LoadProperties.locale.split("[-_ ]");
String[] myLocale = Config.locale.split("[-_ ]");
Locale locale = null;