mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-23 05:36:45 +01:00
Address comments
This commit is contained in:
parent
db963ffc61
commit
5c0e538231
@ -87,6 +87,8 @@ public class HybridUtils {
|
||||
public static HybridUtils manager;
|
||||
public static Set<BlockVector2> regions;
|
||||
public static int height;
|
||||
// Use ordered for reasonable chunk loading order to reduce paper unloading neighbour chunks and then us attempting to load
|
||||
// them again, causing errors
|
||||
public static Set<BlockVector2> chunks = new LinkedHashSet<>();
|
||||
public static PlotArea area;
|
||||
public static boolean UPDATE = false;
|
||||
|
@ -96,6 +96,8 @@ public class PlotCluster {
|
||||
|
||||
/**
|
||||
* Returns a region of PlotIDs
|
||||
*
|
||||
* @deprecated - returns region of IDs, not of actual blocks.
|
||||
*/
|
||||
@Deprecated
|
||||
public CuboidRegion getRegion() {
|
||||
|
@ -239,7 +239,7 @@ public abstract class WorldUtil {
|
||||
*/
|
||||
public void setBiomes(@NonNull String worldName, @NonNull CuboidRegion region, @NonNull BiomeType biome) {
|
||||
final World world = getWeWorld(worldName);
|
||||
region.iterator().forEachRemaining(bv -> world.setBiome(bv, biome));
|
||||
region.forEach(bv -> world.setBiome(bv, biome));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user