From b641d0f450e3b8ae47bee1cadae2d0a5ea092675 Mon Sep 17 00:00:00 2001 From: tastybento Date: Tue, 2 Jul 2024 09:32:35 -0700 Subject: [PATCH 1/2] Return pladdon that was made. --- src/main/java/world/bentobox/level/LevelPladdon.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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; } } From 972b65847cfdf56df11f4ac12bb0e42214cbd374 Mon Sep 17 00:00:00 2001 From: tastybento Date: Fri, 5 Jul 2024 10:31:41 -0700 Subject: [PATCH 2/2] Version 2.14.1 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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