throttled xp for killing same person

This commit is contained in:
2025-01-10 21:11:11 -06:00
parent 72b2e54331
commit 4386e1c828
+3
View File
@@ -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