Browse Source

Bugfix in update_value

combat-2
MagicBot 6 months ago
parent
commit
4796f7042d
  1. 2
      src/engine/db/handlers/dbItemHandler.java

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

@ -554,7 +554,7 @@ public class dbItemHandler extends dbHandlerBase { @@ -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();

Loading…
Cancel
Save