diff options
Diffstat (limited to 'nms-patches/EntityChicken.patch')
-rw-r--r-- | nms-patches/EntityChicken.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/nms-patches/EntityChicken.patch b/nms-patches/EntityChicken.patch index f40dd021..ab00defe 100644 --- a/nms-patches/EntityChicken.patch +++ b/nms-patches/EntityChicken.patch @@ -1,6 +1,6 @@ --- a/net/minecraft/server/EntityChicken.java +++ b/net/minecraft/server/EntityChicken.java -@@ -43,6 +43,11 @@ +@@ -44,6 +44,11 @@ } public void n() { @@ -10,15 +10,15 @@ + } + // CraftBukkit end super.n(); - this.bz = this.bv; - this.bx = this.bw; -@@ -60,7 +65,9 @@ - this.bv += this.bA * 2.0F; - if (!this.world.isClientSide && !this.isBaby() && !this.isChickenJockey() && --this.bB <= 0) { + this.bA = this.bw; + this.by = this.bx; +@@ -61,7 +66,9 @@ + this.bw += this.bB * 2.0F; + if (!this.world.isClientSide && !this.isBaby() && !this.isChickenJockey() && --this.bC <= 0) { this.a(SoundEffects.aa, 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.bB = this.random.nextInt(6000) + 6000; + this.bC = this.random.nextInt(6000) + 6000; } |