From be9478ad7a96df49b69fcdd740f922a0e91791fe Mon Sep 17 00:00:00 2001 From: Travis CI Date: Thu, 13 Jun 2019 20:18:49 +0200 Subject: [PATCH] Fixing BauweltMember --- pom.xml | 26 +++++++------------ .../bungeecore/sql/BauweltMember.java | 2 +- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/pom.xml b/pom.xml index 5925e60..230382a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,12 +4,11 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - de.warking + de.steamwar BungeeCore 1.0 jar BungeeCore - https://maven.apache.org UTF-8 @@ -29,19 +28,21 @@ src **/*.java - **/*.kt org.apache.maven.plugins - maven-compiler-plugin - 3.6.1 - - 1.8 - 1.8 - + maven-shade-plugin + + + package + + shade + + + @@ -54,13 +55,6 @@ jar provided - - net.md-5 - bungeecord-api - 1.12-SNAPSHOT - javadoc - provided - commons-io commons-io diff --git a/src/de/steamwar/bungeecore/sql/BauweltMember.java b/src/de/steamwar/bungeecore/sql/BauweltMember.java index 1cc384b..776db97 100644 --- a/src/de/steamwar/bungeecore/sql/BauweltMember.java +++ b/src/de/steamwar/bungeecore/sql/BauweltMember.java @@ -41,7 +41,7 @@ public class BauweltMember{ private void updateDB(){ sql.update("INSERT INTO BauweltMember" + - " (BauweltID, MemberID, Build, ChangeGM, Teleport, WorldEdit, Testblock)" + + " (BauweltID, MemberID, Build, WorldEdit, World)" + " VALUES" + " ('" + BauweltID + "', '" + MemberID + "', '" + sql.booleanToInt(Build) + "', '" + sql.booleanToInt(WorldEdit) + "', '" + sql.booleanToInt(World) + "')" + " ON DUPLICATE KEY UPDATE" +