summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityExperienceOrb.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityExperienceOrb.patch')
-rw-r--r--nms-patches/EntityExperienceOrb.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/nms-patches/EntityExperienceOrb.patch b/nms-patches/EntityExperienceOrb.patch
index 21c585c5..fa196829 100644
--- a/nms-patches/EntityExperienceOrb.patch
+++ b/nms-patches/EntityExperienceOrb.patch
@@ -14,8 +14,8 @@
public int a;
@@ -34,6 +40,7 @@
- public void m() {
- super.m();
+ public void A_() {
+ super.A_();
+ EntityHuman prevTarget = this.targetPlayer;// CraftBukkit - store old target
if (this.c > 0) {
--this.c;
@@ -45,8 +45,8 @@
+ // CraftBukkit end
}
- this.move(this.motX, this.motY, this.motZ);
-@@ -154,7 +173,7 @@
+ this.move(EnumMoveType.SELF, this.motX, this.motY, this.motZ);
+@@ -153,7 +172,7 @@
}
if (this.value > 0) {
@@ -55,7 +55,7 @@
}
this.die();
-@@ -176,6 +195,24 @@
+@@ -175,6 +194,24 @@
}
public static int getOrbValue(int i) {