mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-02 22:38:06 +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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>Jobs</groupId>
|
<groupId>Jobs</groupId>
|
||||||
<artifactId>jobs</artifactId>
|
<artifactId>jobs</artifactId>
|
||||||
<version>5.2.2.2</version>
|
<version>5.2.2.3</version>
|
||||||
<name>Jobs</name>
|
<name>Jobs</name>
|
||||||
<url>http://maven.apache.org</url>
|
<url>http://maven.apache.org</url>
|
||||||
|
|
||||||
|
@ -1341,14 +1341,14 @@ public final class JobsPaymentListener implements Listener {
|
|||||||
if (!ignore) {
|
if (!ignore) {
|
||||||
UUID lVictimUUID = lVictim.getUniqueId();
|
UUID lVictimUUID = lVictim.getUniqueId();
|
||||||
Double damage = damageDealtByPlayers.getIfPresent(lVictimUUID);
|
Double damage = damageDealtByPlayers.getIfPresent(lVictimUUID);
|
||||||
if (damage != null) {
|
// 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);
|
double perc = (damage * 100D) / Util.getMaxHealth(lVictim);
|
||||||
damageDealtByPlayers.invalidate(lVictimUUID);
|
damageDealtByPlayers.invalidate(lVictimUUID);
|
||||||
if (perc < Jobs.getGCManager().MonsterDamagePercentage)
|
if (perc < Jobs.getGCManager().MonsterDamagePercentage)
|
||||||
return;
|
return;
|
||||||
} else {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user