Merge branch 'develop' of https://github.com/BentoBoxWorld/Warps.git into develop

This commit is contained in:
tastybento 2019-11-11 07:58:05 -08:00
commit ccc1f9c849
3 changed files with 3 additions and 4 deletions

View File

@ -3,8 +3,7 @@ sudo: false
addons:
sonarcloud:
organization: "bentobox-world"
token:
secure: $SONAR_TOKEN
jdk:
- openjdk8
- openjdk11

View File

@ -66,7 +66,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>1.8.1</build.version>
<build.version>1.8.2</build.version>
</properties>
<!-- Profiles will allow to automatically change build version. -->

View File

@ -83,7 +83,7 @@ public class Warp extends Addon {
// Save default config.yml
this.saveDefaultConfig();
// Load the plugin's config
if (this.loadSettings()) {
if (this.loadSettings() && settings.isAllowInOtherWorlds()) {
// Load the master warp and warps command
new WarpCommand(this);
new WarpsCommand(this);