Skip to content

Commit

Permalink
Merge pull request #48 from BentoBoxWorld/develop
Browse files Browse the repository at this point in the history
Version 2.5.0
  • Loading branch information
tastybento authored Nov 17, 2024
2 parents 1e5c903 + fe2e73e commit 0f09695
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
23 changes: 12 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,9 @@
addon -->
<!-- Can be removed -->
<distributionManagement>
<snapshotRepository>
<id>codemc-snapshots</id>
<url>https://repo.codemc.org/repository/maven-snapshots</url>
</snapshotRepository>
<repository>
<id>codemc-releases</id>
<url>https://repo.codemc.org/repository/maven-releases</url>
<id>bentoboxworld</id>
<url>https://repo.codemc.org/repository/bentoboxworld</url>
</repository>
</distributionManagement>

Expand All @@ -56,15 +52,15 @@
<!-- Some JAVA encoding settings -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>16</java.version>
<java.version>17</java.version>

<!-- SPIGOT API version -->
<spigot.version>1.20.2-R0.1-SNAPSHOT</spigot.version>
<spigot.version>1.21.3-R0.1-SNAPSHOT</spigot.version>
<!-- Vault API version -->
<vault.version>1.7</vault.version>

<!-- BentoBox API version -->
<bentobox.version>2.0.0-SNAPSHOT</bentobox.version>
<bentobox.version>2.7.1-SNAPSHOT</bentobox.version>
<!-- Warps addon version -->
<warps.version>1.12.0</warps.version>
<!-- Visit addon version -->
Expand All @@ -76,7 +72,7 @@
<!-- Revision variable removes warning about dynamic version -->
<revision>${build.version}-SNAPSHOT</revision>
<!-- This allows to change between versions and snapshots. -->
<build.version>2.4.0</build.version>
<build.version>2.5.0</build.version>
<build.number>-LOCAL</build.number>
</properties>

Expand Down Expand Up @@ -121,6 +117,10 @@
<id>spigotmc-public</id>
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
</repository>
<repository>
<id>bentoboxworld</id>
<url>https://repo.codemc.org/repository/bentoboxworld/</url>
</repository>
<repository>
<id>codemc-repo</id>
<url>https://repo.codemc.org/repository/maven-public/</url>
Expand Down Expand Up @@ -237,11 +237,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.1</version>
<version>3.1.1</version>
<configuration>
<show>public</show>
<failOnError>false</failOnError>
<additionalJOption>-Xdoclint:none</additionalJOption>
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
</configuration>
<executions>
<execution>
Expand Down
6 changes: 5 additions & 1 deletion src/main/java/world/bentobox/likes/LikesPladdon.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@
*/
public class LikesPladdon extends Pladdon {

private Addon addon;
@Override
public Addon getAddon() {
return new LikesAddon();
if (addon == null) {
addon = new LikesAddon();
}
return addon;
}
}

0 comments on commit 0f09695

Please sign in to comment.