vMinecraft hMod files moved into their own directory to make room for bukkit files.

This commit is contained in:
nossr50 2011-01-10 14:37:24 -08:00
parent 25e9d7afcf
commit 59a2ebdaf6
9 changed files with 3 additions and 1 deletions

View File

View File

@ -78,6 +78,8 @@ String location = "groups.txt";
String groupline[] = null; String groupline[] = null;
String prefix = Colors.White; String prefix = Colors.White;
int x = 0; int x = 0;
if(groups.length == 0 || groups == null)
return prefix;
if(vConfig.getInstance().groupcoloredbrackets()){ if(vConfig.getInstance().groupcoloredbrackets()){
//Read the file //Read the file
properties = new PropertiesFile(location); properties = new PropertiesFile(location);
@ -91,7 +93,7 @@ String location = "groups.txt";
if(herp != null) if(herp != null)
x++; x++;
} }
if(x != 0) if(x > 0)
groupline = properties.getString(groups[0]).split(":"); groupline = properties.getString(groups[0]).split(":");
//Check if the prefix is null or not //Check if the prefix is null or not
if(!groupline[0].isEmpty() && groupline != null) if(!groupline[0].isEmpty() && groupline != null)