1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-20 18:53:11 +01:00

More changes, xmas, hook error stoppan, and other stuff

This commit is contained in:
nossr50
2010-12-31 09:10:30 -08:00
parent 92c8ffa0a2
commit 9f840a3079
3 changed files with 8 additions and 5 deletions

View File

@@ -195,9 +195,10 @@ public class vMinecraftSettings {
String[] tempEz = properties.getString("ezModo").split(",");
String[] fireblocks = properties.getString("fireblocks").split(",");
fireblockan = new ArrayList<Integer>();
for(int x = 0;x < fireblocks.length; x++)
for(String str : fireblocks)
{
fireblockan.add(Integer.parseInt(fireblocks[x]));
if(!str.isEmpty())
fireblockan.add(Integer.parseInt(str));
}
ezModo = new ArrayList<String>();
ezModo.addAll(Arrays.asList(tempEz));