Browse Source

throttled xp for killing same person

lakebane
FatBoy-DOTC 1 week ago
parent
commit
4386e1c828
  1. 3
      src/engine/objects/Experience.java

3
src/engine/objects/Experience.java

@ -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

Loading…
Cancel
Save