diff options
author | md_5 <git@md-5.net> | 2016-11-17 12:41:03 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-11-17 12:41:03 +1100 |
commit | c25ddf063a808e3adb749e22017661f403c5fb7e (patch) | |
tree | b2efcff512be12fd3e38cf8c36386148ce6ab4ae /nms-patches/EntityFireball.patch | |
parent | 51263e97187a84338f89698eef187284055a682a (diff) | |
download | craftbukkit-c25ddf063a808e3adb749e22017661f403c5fb7e.tar craftbukkit-c25ddf063a808e3adb749e22017661f403c5fb7e.tar.gz craftbukkit-c25ddf063a808e3adb749e22017661f403c5fb7e.tar.lz craftbukkit-c25ddf063a808e3adb749e22017661f403c5fb7e.tar.xz craftbukkit-c25ddf063a808e3adb749e22017661f403c5fb7e.zip |
Update to Minecraft 1.11
Diffstat (limited to 'nms-patches/EntityFireball.patch')
-rw-r--r-- | nms-patches/EntityFireball.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nms-patches/EntityFireball.patch b/nms-patches/EntityFireball.patch index 2f7072d8..02e43ed8 100644 --- a/nms-patches/EntityFireball.patch +++ b/nms-patches/EntityFireball.patch @@ -7,8 +7,8 @@ + public abstract class EntityFireball extends Entity { - private int e = -1; -@@ -13,6 +15,8 @@ + public EntityLiving shooter; +@@ -8,6 +10,8 @@ public double dirX; public double dirY; public double dirZ; @@ -17,7 +17,7 @@ public EntityFireball(World world) { super(world); -@@ -36,12 +40,19 @@ +@@ -31,12 +35,19 @@ public EntityFireball(World world, EntityLiving entityliving, double d0, double d1, double d2) { super(world); this.shooter = entityliving; @@ -37,7 +37,7 @@ d0 += this.random.nextGaussian() * 0.4D; d1 += this.random.nextGaussian() * 0.4D; d2 += this.random.nextGaussian() * 0.4D; -@@ -85,6 +96,12 @@ +@@ -61,6 +72,12 @@ if (movingobjectposition != null) { this.a(movingobjectposition); @@ -50,7 +50,7 @@ } this.locX += this.motX; -@@ -191,6 +208,11 @@ +@@ -150,6 +167,11 @@ } else { this.ap(); if (damagesource.getEntity() != null) { @@ -62,7 +62,7 @@ Vec3D vec3d = damagesource.getEntity().aB(); if (vec3d != null) { -@@ -204,6 +226,7 @@ +@@ -163,6 +185,7 @@ if (damagesource.getEntity() instanceof EntityLiving) { this.shooter = (EntityLiving) damagesource.getEntity(); |