|
|
@ -66,7 +66,7 @@ public class dbItemHandler extends dbHandlerBase { |
|
|
|
preparedStatement.setInt(2, toAdd.getTemplateID()); |
|
|
|
preparedStatement.setInt(2, toAdd.getTemplateID()); |
|
|
|
preparedStatement.setInt(3, (byte) toAdd.chargesRemaining); |
|
|
|
preparedStatement.setInt(3, (byte) toAdd.chargesRemaining); |
|
|
|
preparedStatement.setInt(4, (short) toAdd.combat_health_current); |
|
|
|
preparedStatement.setInt(4, (short) toAdd.combat_health_current); |
|
|
|
preparedStatement.setInt(5, (int) toAdd.template.item_health_full); |
|
|
|
preparedStatement.setInt(5, (int) toAdd.template.combat_health_full); |
|
|
|
|
|
|
|
|
|
|
|
if (toAdd.getNumOfItems() < 1) |
|
|
|
if (toAdd.getNumOfItems() < 1) |
|
|
|
preparedStatement.setInt(6, 1); |
|
|
|
preparedStatement.setInt(6, 1); |
|
|
|