Reduces safe spot search radius and checks a few more chunks per tick

https://github.com/BentoBoxWorld/BentoBox/issues/952
This commit is contained in:
tastybento 2019-09-20 15:16:09 -07:00
parent ff1c984fd0
commit 86da94182c

View File

@ -27,9 +27,9 @@ import world.bentobox.bentobox.util.Pair;
*/
public class SafeSpotTeleport {
private static final int MAX_CHUNKS = 3;
private static final int MAX_CHUNKS = 6;
private static final long SPEED = 1;
private static final int MAX_RADIUS = 200;
private static final int MAX_RADIUS = 50;
private static final int MAX_HEIGHT = 235;
private boolean notChecking;
private BukkitTask task;