mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-09 22:13:12 +00:00
Started working on cluster commands
This commit is contained in:
parent
cbdb3d307b
commit
61898b0157
14 changed files with 525 additions and 179 deletions
|
@ -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:
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue