forked from MagicBane/Server
Bugfix in update_value
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user