summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityChicken.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2016-05-10 21:47:39 +1000
committermd_5 <git@md-5.net>2016-05-10 21:47:39 +1000
commitc5e9a169fa564f3b8119b6666f8df59d5a9b45c3 (patch)
tree9f3b1ce732f0082b71512b1dddb7abb35526226e /nms-patches/EntityChicken.patch
parent4cb32587ac1ff543b2efa9498f8d0d358cb90c12 (diff)
downloadcraftbukkit-c5e9a169fa564f3b8119b6666f8df59d5a9b45c3.tar
craftbukkit-c5e9a169fa564f3b8119b6666f8df59d5a9b45c3.tar.gz
craftbukkit-c5e9a169fa564f3b8119b6666f8df59d5a9b45c3.tar.lz
craftbukkit-c5e9a169fa564f3b8119b6666f8df59d5a9b45c3.tar.xz
craftbukkit-c5e9a169fa564f3b8119b6666f8df59d5a9b45c3.zip
Minecraft 1.9.4
Diffstat (limited to 'nms-patches/EntityChicken.patch')
-rw-r--r--nms-patches/EntityChicken.patch14
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;
}