Do not save arrows based on GameTimeController calculation.
This commit is contained in:
@@ -6043,12 +6043,6 @@ public class PlayerInstance extends Playable
|
||||
{
|
||||
arrows.changeCountWithoutTrace(-1, this, null);
|
||||
arrows.setLastChange(ItemInstance.MODIFIED);
|
||||
|
||||
// could do also without saving, but let's save approx 1 of 10
|
||||
if ((GameTimeController.getInstance().getGameTicks() % 10) == 0)
|
||||
{
|
||||
arrows.updateDatabase();
|
||||
}
|
||||
_inventory.refreshWeight();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user