mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-11-27 12:38:21 +01:00
commit
a685bc8bc8
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user