NPE Fixed in Vault & Updated Maven Plugins

This commit is contained in:
Driftay 2019-08-06 07:20:53 -04:00
parent 1dc454e2a5
commit de76801757
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
@ -37,7 +37,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<version>3.2.1</version>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<relocations>

View File

@ -1232,7 +1232,7 @@ public abstract class MemoryFPlayer implements FPlayer {
}
// Was an over claim
if (currentFaction.isNormal() && currentFaction.hasLandInflation()) {
if (mustPay && currentFaction.isNormal() && currentFaction.hasLandInflation()) {
// Give them money for over claiming.
Econ.modifyMoney(payee, Conf.econOverclaimRewardMultiplier, TL.CLAIM_TOOVERCLAIM.toString(), TL.CLAIM_FOROVERCLAIM.toString());
}