Started working on cluster commands

This commit is contained in:
boy0001 2015-01-29 14:20:29 +11:00
parent cbdb3d307b
commit 61898b0157
14 changed files with 525 additions and 179 deletions

View file

@ -88,6 +88,16 @@ import com.intellectualcrafters.plot.object.PlotWorld;
}
}
public static PlotId parseId(String arg) {
try {
String[] split = arg.split(";");
return new PlotId(Integer.parseInt(split[0]), Integer.parseInt(split[1])) ;
}
catch (Exception e) {
return null;
}
}
/**
* direction 0 = north, 1 = south, etc:
*