diff --git a/pom.xml b/pom.xml index d5345a6..3147445 100644 --- a/pom.xml +++ b/pom.xml @@ -65,7 +65,7 @@ -LOCAL - 2.7.2 + 2.7.3 BentoBoxWorld_Boxed bentobox-world diff --git a/src/main/java/world/bentobox/boxed/listeners/NewAreaListener.java b/src/main/java/world/bentobox/boxed/listeners/NewAreaListener.java index bffcfe8..9a99a49 100644 --- a/src/main/java/world/bentobox/boxed/listeners/NewAreaListener.java +++ b/src/main/java/world/bentobox/boxed/listeners/NewAreaListener.java @@ -358,6 +358,9 @@ public class NewAreaListener implements Listener { } private void place(ConfigurationSection section, Location center, Environment env) { + if (section == null) { + return; + } World world = env.equals(Environment.NORMAL) ? addon.getOverWorld() : addon.getNetherWorld(); if (world == null) { return;