Browse Source

Fixed sql stats savng

master
pintux98 6 years ago
parent
commit
46ae8d5d7d
  1. 13
      MultiArena-TheBridge/.classpath
  2. 2
      MultiArena-TheBridge/plugin.yml
  3. 15
      MultiArena-TheBridge/pom.xml
  4. 2
      MultiArena-TheBridge/src/cx/sfy/TheBridge/database/Cosmeticbase.java

13
MultiArena-TheBridge/.classpath

@ -1,10 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/classes" path="src">
<attributes>
<attribute name="optional" value="true"/>
@ -13,19 +8,23 @@
</classpathentry>
<classpathentry kind="lib" path="C:/Users/pintu/Desktop/pindev/spigot-related/FastAsyncWorldEdit-bukkit-19.04.22-57c85d0-1271-22.0.6.jar"/>
<classpathentry kind="lib" path="C:/Users/pintu/Desktop/pindev/spigot-related/LeaderHeads.jar"/>
<classpathentry kind="lib" path="C:/Users/pintu/Desktop/pindev/spigot-related/PlaceholderAPI-2.9.2.jar"/>
<classpathentry kind="lib" path="C:/Users/pintu/Desktop/pindev/spigot-related/spigot-1.9.4-R0.1-SNAPSHOT-latest.jar"/>
<classpathentry kind="lib" path="C:/Users/pintu/Desktop/pindev/spigot-related/spigot-1.8.8-R0.1-SNAPSHOT-latest.jar"/>
<classpathentry kind="lib" path="C:/Users/pintu/Desktop/pindev/spigot-related/spigot-1.10.2-R0.1-SNAPSHOT-latest.jar"/>
<classpathentry kind="lib" path="C:/Users/pintu/Desktop/pindev/spigot-related/spigot-1.11.2.jar"/>
<classpathentry kind="lib" path="C:/Users/pintu/Desktop/pindev/spigot-related/spigot-1.12.2.jar"/>
<classpathentry kind="lib" path="C:/Users/pintu/Desktop/pindev/spigot-related/spigot-1.13.2.jar"/>
<classpathentry kind="lib" path="C:/Users/pintu/Desktop/pindev/spigot-related/worldedit-bukkit-6.1.9.jar"/>
<classpathentry kind="lib" path="C:/Users/pintu/Desktop/pindev/spigot-related/spigot-1.14.jar"/>
<classpathentry kind="lib" path="C:/Users/pintu/Desktop/pindev/spigot-related/worldedit-bukkit-6.1.9.jar"/>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>

2
MultiArena-TheBridge/plugin.yml

@ -1,6 +1,6 @@
main: cx.sfy.TheBridge.Main
name: TheBridge
version: 2.4.1
version: 2.4.5
authors: [Stefatorus, pintux98, Leonardo0013YT]
softdepend: [PlaceholderAPI, LeaderHeads, FastAsyncWorldEdit, WorldEdit]
commands:

15
MultiArena-TheBridge/pom.xml

@ -6,7 +6,7 @@
<groupId>TheBridge</groupId>
<artifactId>TheBridge</artifactId>
<version>2.4.1</version>
<version>2.4.5</version>
<name>TheBridge</name>
<description>TheBridge minigame by stefatorus &amp; pintux98</description>
@ -20,6 +20,13 @@
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<repositories>
<repository>
<id>placeholderapi</id>
<url>http://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
@ -27,6 +34,12 @@
<version>1.18.6</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.10.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>

2
MultiArena-TheBridge/src/cx/sfy/TheBridge/database/Cosmeticbase.java

@ -205,7 +205,7 @@ public class Cosmeticbase {
preparedStatement = connection.prepareStatement(queryBuilder.toString());
preparedStatement.setString(1, stat.getCage());
preparedStatement.setString(2, "default");
preparedStatement.setString(3, "default");
preparedStatement.setString(3, stat.getArrow());
preparedStatement.setString(4, "default");
preparedStatement.setString(5, stat.getUUID());
preparedStatement.executeUpdate();

Loading…
Cancel
Save