diff --git a/pom.xml b/pom.xml index a24e216..11d21ff 100644 --- a/pom.xml +++ b/pom.xml @@ -71,7 +71,7 @@ -LOCAL - 2.14.0 + 2.14.1 BentoBoxWorld_Level bentobox-world https://sonarcloud.io diff --git a/src/main/java/world/bentobox/level/LevelPladdon.java b/src/main/java/world/bentobox/level/LevelPladdon.java index 356833c..f054313 100644 --- a/src/main/java/world/bentobox/level/LevelPladdon.java +++ b/src/main/java/world/bentobox/level/LevelPladdon.java @@ -9,8 +9,14 @@ * */ public class LevelPladdon extends Pladdon { + + private Addon addon; + @Override public Addon getAddon() { - return new Level(); + if (addon == null) { + addon = new Level(); + } + return addon; } }