mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-09 22:13:12 +00:00
Fixing some stuff after testing
This commit is contained in:
parent
5b2e83587b
commit
955fa674d0
16 changed files with 79 additions and 86 deletions
|
@ -158,6 +158,9 @@ public class ClusterManager {
|
|||
public static PlotCluster getCluster(final Location loc) {
|
||||
final String world = loc.getWorld();
|
||||
PlotManager manager = PS.get().getPlotManager(world);
|
||||
if (manager == null) {
|
||||
return null;
|
||||
}
|
||||
PlotId id = manager.getPlotIdAbs(PS.get().getPlotWorld(world), loc.getX(), loc.getY(), loc.getZ());
|
||||
if (id != null) {
|
||||
return getCluster(world, id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue