summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityChicken.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityChicken.patch')
-rw-r--r--nms-patches/EntityChicken.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/nms-patches/EntityChicken.patch b/nms-patches/EntityChicken.patch
index 2dd746a4..c498decf 100644
--- a/nms-patches/EntityChicken.patch
+++ b/nms-patches/EntityChicken.patch
@@ -10,15 +10,15 @@
+ }
+ // CraftBukkit end
super.n();
- this.bB = this.bx;
- this.bz = this.by;
+ this.bA = this.bw;
+ this.by = this.bx;
@@ -61,7 +66,9 @@
- this.bx += this.bC * 2.0F;
- if (!this.world.isClientSide && !this.isBaby() && !this.isChickenJockey() && --this.bD <= 0) {
- this.a(SoundEffects.aa, 1.0F, (this.random.nextFloat() - this.random.nextFloat()) * 0.2F + 1.0F);
+ this.bw += this.bB * 2.0F;
+ if (!this.world.isClientSide && !this.isBaby() && !this.isChickenJockey() && --this.bC <= 0) {
+ this.a(SoundEffects.ac, 1.0F, (this.random.nextFloat() - this.random.nextFloat()) * 0.2F + 1.0F);
+ this.forceDrops = true; // CraftBukkit
this.a(Items.EGG, 1);
+ this.forceDrops = false; // CraftBukkit
- this.bD = this.random.nextInt(6000) + 6000;
+ this.bC = this.random.nextInt(6000) + 6000;
}