mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-01 02:46:41 +00:00
Only call org.bukkit.World
height methods if they're present (1.17+) (#1551)
* Only call org.bukkit.World height methods if they're present (1.17+) * Switch to WorldEdit get height methods in GPFeature
This commit is contained in:
@ -85,7 +85,9 @@ public class BukkitWorld extends AbstractWorld {
|
||||
private static final Logger LOGGER = LogManagerCompat.getLogger();
|
||||
|
||||
private static final boolean HAS_3D_BIOMES;
|
||||
private static final boolean HAS_MIN_Y;
|
||||
//FAWE start - allow access for easy checking if World#getMin/MaxHeight exists
|
||||
public static final boolean HAS_MIN_Y;
|
||||
//FAWE end
|
||||
|
||||
private static final Map<Integer, Effect> effects = new HashMap<>();
|
||||
|
||||
|
Reference in New Issue
Block a user