Issue with human riding things
PhanaticD opened this issue · 0 comments
/pet cow;Bessie human;PhanaticD will give this error. They still will show up just the human reverts to "human"
[08/12/2013]---[00:45:21]§4[§cEchoPet§4]§r §c[SEVERE] Failed to save Pet data for PhanaticD to MySQL Database
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'PhanaticD' for key 'PRIMARY'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
at com.mysql.jdbc.Util.getInstance(Util.java:382)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
at io.github.dsh105.echopet.libraries.bonecp.PreparedStatementHandle.executeUpdate(PreparedStatementHandle.java:205)
at io.github.dsh105.echopet.mysql.SQLPetHandler.saveToDatabase(SQLPetHandler.java:82)
at io.github.dsh105.echopet.entity.living.LivingPet$2.run(LivingPet.java:347)
at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:67)
at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:573)
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:259)
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:530)
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:442)
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)