Merge pull request #319 from BentoBoxWorld/develop

Version 2.14.1
This commit is contained in:
tastybento 2024-07-05 10:33:58 -07:00 committed by GitHub
commit a685bc8bc8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View File

@ -71,7 +71,7 @@
<!-- Do not change unless you want different name for local builds. -->
<build.number>-LOCAL</build.number>
<!-- This allows to change between versions. -->
<build.version>2.14.0</build.version>
<build.version>2.14.1</build.version>
<sonar.projectKey>BentoBoxWorld_Level</sonar.projectKey>
<sonar.organization>bentobox-world</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>

View File

@ -9,8 +9,14 @@ import world.bentobox.bentobox.api.addons.Pladdon;
*
*/
public class LevelPladdon extends Pladdon {
private Addon addon;
@Override
public Addon getAddon() {
return new Level();
if (addon == null) {
addon = new Level();
}
return addon;
}
}