Fix Inv-DiffInterval being enabled by default

This commit is contained in:
Heliosares
2022-11-07 06:58:52 -05:00
parent 30da1dd4a5
commit eba66f37a7
3 changed files with 4 additions and 3 deletions

View File

@@ -37,7 +37,8 @@ Actions:
WorldChange: false
Interval: 3600000
# Enables differential logging and searching of inventories down to the second.
# This feature is experimental and will consume more disk space.
# This feature is experimental and will consume significantly more disk space.
# Do not use this feature if your server is medium to large.
Diff-Interval: 0
# Use this if you run into issues with death inventories being empty.
# This is usually due to a plugin like DeathChests clearing the inventory before AuxProtect sees it.

View File

@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>AuxProtect</groupId>
<artifactId>AuxProtect</artifactId>
<version>1.2.1</version>
<version>1.2.2</version>
<name>AuxProtect</name>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>

View File

@@ -56,7 +56,7 @@ public class APConfig {
inventoryOnWorldChange = config.getBoolean("Actions.inventory.WorldChange", false);
posInterval = config.getLong("Actions.pos.Interval", 10000);
inventoryInterval = config.getLong("Actions.inventory.Interval", 3600000);
inventoryDiffInterval = config.getLong("Actions.inventory.Diff-Interval", 1000);
inventoryDiffInterval = config.getLong("Actions.inventory.Diff-Interval", 0);
moneyInterval = config.getLong("Actions.money.Interval", 600000);
}
for (EntryAction action : EntryAction.values()) {