Inline templateID

This commit is contained in:
MagicBot committed 2024-03-30 08:26:08 -04:00
1 parent 46170e3ab7
commit e5622a47c0
12 files changed
+23 -27

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ public class dbItemHandler extends dbHandlerBase {
PreparedStatement preparedStatement = connection.prepareStatement("CALL `item_CREATE`(?, ?, ?, ?, ?, ?, ?, ?,?);")) {
preparedStatement.setInt(1, toAdd.ownerID);
preparedStatement.setInt(2, toAdd.getTemplateID());
preparedStatement.setInt(2, toAdd.templateID);
preparedStatement.setInt(3, (byte) toAdd.chargesRemaining);
preparedStatement.setInt(4, (short) toAdd.combat_health_current);