This commit is contained in:
boy0001 2015-02-22 23:51:02 +11:00
parent 0e9e813dbf
commit cdf45c7efc
13 changed files with 25 additions and 19 deletions

View file

@ -142,6 +142,11 @@ public class PlotSquared {
return getPlots(world, uuid);
}
public static Set<Plot> getPlots(final String world, final PlotPlayer player) {
final UUID uuid = player.getUUID();
return getPlots(world, uuid);
}
public static Set<Plot> getPlots(final String world, final UUID uuid) {
final ArrayList<Plot> myplots = new ArrayList<>();
for (final Plot plot : getPlots(world).values()) {