Bugfix in update_value

This commit is contained in:
MagicBot committed 2024-05-12 11:09:45 -04:00
1 parent 94ff3cf222
commit 4796f7042d
1 file changed
+1 -1
+1 -1
View File
@@ -554,7 +554,7 @@ public class dbItemHandler extends dbHandlerBase {
// Write 0 if we will not modify the value from template
if (item.value == item.template.item_value)
if (value == item.template.item_value)
value = 0;
try (Connection connection = DbManager.getConnection();