Do not check for blocks when looking for new islands. (#55)

https://github.com/BentoBoxWorld/BentoBox/issues/1694
This commit is contained in:
tastybento 2021-03-01 10:43:53 -08:00 committed by GitHub
parent c0c2970168
commit 71371576af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 3 deletions

View File

@ -46,11 +46,11 @@
<java.version>1.8</java.version>
<!-- More visible way how to change dependency versions -->
<spigot.version>1.16.4-R0.1-SNAPSHOT</spigot.version>
<bentobox.version>1.15.1</bentobox.version>
<bentobox.version>1.16.0-SNAPSHOT</bentobox.version>
<!-- Revision variable removes warning about dynamic version -->
<revision>${build.version}-SNAPSHOT</revision>
<!-- This allows to change between versions and snapshots. -->
<build.version>1.14.2</build.version>
<build.version>1.14.3</build.version>
<build.number>-LOCAL</build.number>
</properties>

View File

@ -1,7 +1,6 @@
package world.bentobox.caveblock;
import com.google.common.base.Enums;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
@ -15,6 +14,8 @@ import org.bukkit.Material;
import org.bukkit.block.Biome;
import org.bukkit.entity.EntityType;
import com.google.common.base.Enums;
import world.bentobox.bentobox.api.configuration.ConfigComment;
import world.bentobox.bentobox.api.configuration.ConfigEntry;
import world.bentobox.bentobox.api.configuration.StoreAt;
@ -1990,6 +1991,14 @@ public class Settings implements WorldSettings
this.ticksPerMonsterSpawns = ticksPerMonsterSpawns;
}
/* (non-Javadoc)
* @see world.bentobox.bentobox.api.configuration.WorldSettings#isCheckForBlocks()
*/
@Override
public boolean isCheckForBlocks() {
// Do not check for blocks when looking for new island spots
return false;
}
// ---------------------------------------------------------------------