Browse Source

login crash bug

lakebane-master
FatBoy-DOTC 8 months ago
parent
commit
64e6e035c1
  1. 2
      src/engine/db/handlers/dbPlayerCharacterHandler.java

2
src/engine/db/handlers/dbPlayerCharacterHandler.java

@ -52,7 +52,7 @@ public class dbPlayerCharacterHandler extends dbHandlerBase {
preparedStatement.setInt(8, toAdd.getConMod()); preparedStatement.setInt(8, toAdd.getConMod());
preparedStatement.setInt(9, toAdd.getIntMod()); preparedStatement.setInt(9, toAdd.getIntMod());
preparedStatement.setInt(10, toAdd.getSpiMod()); preparedStatement.setInt(10, toAdd.getSpiMod());
preparedStatement.setInt(11, 109351); // auto level 10 preparedStatement.setInt(11, 109350); // auto level 10
preparedStatement.setInt(12, toAdd.getSkinColor()); preparedStatement.setInt(12, toAdd.getSkinColor());
preparedStatement.setInt(13, toAdd.getHairColor()); preparedStatement.setInt(13, toAdd.getHairColor());
preparedStatement.setByte(14, toAdd.getHairStyle()); preparedStatement.setByte(14, toAdd.getHairStyle());

Loading…
Cancel
Save