itemmanager: sanity check wiki prices

Try to avoid excessive item price manipulation by requiring the guide price to be within a configured threshold of the official price.
This commit is contained in:
Adam
2022-02-01 16:55:21 -05:00
parent b37d46e488
commit aaf4adaea0
4 changed files with 40 additions and 5 deletions

View File

@@ -67,7 +67,12 @@
<!-- design -->
<rule ref="category/java/design.xml/AvoidThrowingNewInstanceOfSameException"/>
<rule ref="category/java/design.xml/FinalFieldCouldBeStatic"/>
<rule ref="category/java/design.xml/ImmutableField"/>
<rule ref="category/java/design.xml/ImmutableField">
<properties>
<property name="ignoredAnnotations"
value="lombok.Setter|lombok.Getter|lombok.Builder|lombok.Data|lombok.RequiredArgsConstructor|lombok.AllArgsConstructor|lombok.Value|lombok.NoArgsConstructor|javax.inject.Inject|com.google.inject.Inject"/>
</properties>
</rule>
<rule ref="category/java/design.xml/SimplifyBooleanExpressions"/>
<rule ref="category/java/design.xml/SimplifyConditional"/>
<rule ref="category/java/design.xml/UselessOverridingMethod"/>