mirror of
https://github.com/Zrips/Jobs.git
synced 2024-12-30 21:07:48 +01:00
Italian locale update
This commit is contained in:
parent
d9cb1bf337
commit
f311172ff6
2
pom.xml
2
pom.xml
@ -5,7 +5,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>Jobs</groupId>
|
||||
<artifactId>jobs</artifactId>
|
||||
<version>5.2.2.2</version>
|
||||
<version>5.2.2.3</version>
|
||||
<name>Jobs</name>
|
||||
<url>http://maven.apache.org</url>
|
||||
|
||||
|
@ -1341,14 +1341,14 @@ public final class JobsPaymentListener implements Listener {
|
||||
if (!ignore) {
|
||||
UUID lVictimUUID = lVictim.getUniqueId();
|
||||
Double damage = damageDealtByPlayers.getIfPresent(lVictimUUID);
|
||||
if (damage != null) {
|
||||
double perc = (damage * 100D) / Util.getMaxHealth(lVictim);
|
||||
damageDealtByPlayers.invalidate(lVictimUUID);
|
||||
if (perc < Jobs.getGCManager().MonsterDamagePercentage)
|
||||
return;
|
||||
} else {
|
||||
// Not paying if we have no records about damage done to an entity by the player's
|
||||
if (damage == null)
|
||||
return;
|
||||
|
||||
double perc = (damage * 100D) / Util.getMaxHealth(lVictim);
|
||||
damageDealtByPlayers.invalidate(lVictimUUID);
|
||||
if (perc < Jobs.getGCManager().MonsterDamagePercentage)
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user