From 4386e1c828d1e94beed7869f096e786b3cde6faf Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 10 Jan 2025 21:11:11 -0600 Subject: [PATCH] throttled xp for killing same person --- src/engine/objects/Experience.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/objects/Experience.java b/src/engine/objects/Experience.java index 8bd8c35c..fcac28f9 100644 --- a/src/engine/objects/Experience.java +++ b/src/engine/objects/Experience.java @@ -349,6 +349,9 @@ public class Experience { if(killer.equals(mob)) return; + if(killer.pvpKills.contains(mob.getObjectUUID())) + return; + double grantedExperience = 0.0; if (g != null) { // Do group EXP stuff