diff --git a/.gitignore b/.gitignore index 39ad8479..2de4ff31 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ *.iws *.ipr +out/ logs/ classes/ run/ diff --git a/build.gradle b/build.gradle index 57d66087..3f887073 100644 --- a/build.gradle +++ b/build.gradle @@ -51,7 +51,7 @@ task copyPlugin { doLast { copy { if(System.env.MC_SERVER_LOC == null) { - throw new GradleException('You must set the server location and jar to use') + throw new Exception('You must set the server location and jar to use') } println "$buildDir/libs/Advanced-Portals-${version}.jar" println "${System.env.MC_SERVER_LOC}/plugins/Advanced-Portals-${version}.jar" @@ -74,7 +74,7 @@ task copyPlugin { task runJar() { doLast { if(System.env.MC_SERVER_LOC == null || System.env.MC_SERVER_JAR == null) { - throw new GradleException('You must set the server location and jar to use MC_SERVER_LOC and MC_SERVER_JAR') + throw new Exception('You must set the server location and jar to use MC_SERVER_LOC and MC_SERVER_JAR') } javaexec { main "-jar" diff --git a/src/main/resources/bungee.yml b/src/main/resources/bungee.yml index 78804f8b..a0b819e4 100644 --- a/src/main/resources/bungee.yml +++ b/src/main/resources/bungee.yml @@ -1,4 +1,4 @@ main: com.sekwah.advancedportals.bungee.AdvancedPortalsPlugin name: AdvancedPortals -version: 0.2.1 +version: 0.2.2 author: sekwah41 \ No newline at end of file diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 3725565c..cf9e6f2c 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ main: com.sekwah.advancedportals.bukkit.AdvancedPortalsPlugin name: AdvancedPortals -version: 0.2.1 +version: 0.2.2 author: sekwah41 description: An advanced portals plugin for bukkit. api-version: 1.13