Do not save arrows based on GameTimeController calculation.

This commit is contained in:
MobiusDevelopment
2020-03-31 17:13:51 +00:00
parent c759c4629d
commit 0c0bc9a33a
17 changed files with 15 additions and 147 deletions

View File

@@ -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();
}
}