mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 02:04:44 +02:00
Minor message changes and variable changes
This commit is contained in:
@ -11,6 +11,7 @@ import com.github.intellectualsites.plotsquared.plot.util.block.DelegateLocalBlo
|
||||
import com.github.intellectualsites.plotsquared.plot.util.block.GlobalBlockQueue;
|
||||
import com.github.intellectualsites.plotsquared.plot.util.block.LocalBlockQueue;
|
||||
import com.github.intellectualsites.plotsquared.plot.util.block.ScopedLocalBlockQueue;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
@ -24,7 +25,7 @@ public class AugmentedUtils {
|
||||
enabled = true;
|
||||
}
|
||||
|
||||
public static boolean generate(final String world, final int cx, final int cz,
|
||||
public static boolean generate(@NotNull final String world, final int cx, final int cz,
|
||||
LocalBlockQueue queue) {
|
||||
if (!enabled) {
|
||||
return false;
|
||||
|
@ -139,7 +139,11 @@ public class DefaultPlotAreaManager implements PlotAreaManager {
|
||||
return null;
|
||||
case 1:
|
||||
PlotArea pa = this.plotAreas[0];
|
||||
return pa.contains(location) ? pa : null;
|
||||
if (pa.contains(location)) {
|
||||
return pa;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
case 2:
|
||||
case 3:
|
||||
case 4:
|
||||
|
Reference in New Issue
Block a user