throttled xp for killing same person
This commit is contained in:
@@ -349,6 +349,9 @@ public class Experience {
|
|||||||
if(killer.equals(mob))
|
if(killer.equals(mob))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if(killer.pvpKills.contains(mob.getObjectUUID()))
|
||||||
|
return;
|
||||||
|
|
||||||
double grantedExperience = 0.0;
|
double grantedExperience = 0.0;
|
||||||
|
|
||||||
if (g != null) { // Do group EXP stuff
|
if (g != null) { // Do group EXP stuff
|
||||||
|
|||||||
Reference in New Issue
Block a user