diff options
Diffstat (limited to 'patch-remap/og/net/minecraft/world/entity/monster/EntityGhast.patch')
-rw-r--r-- | patch-remap/og/net/minecraft/world/entity/monster/EntityGhast.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/entity/monster/EntityGhast.patch b/patch-remap/og/net/minecraft/world/entity/monster/EntityGhast.patch new file mode 100644 index 0000000000..b13f60c7ee --- /dev/null +++ b/patch-remap/og/net/minecraft/world/entity/monster/EntityGhast.patch @@ -0,0 +1,11 @@ +--- a/net/minecraft/world/entity/monster/EntityGhast.java ++++ b/net/minecraft/world/entity/monster/EntityGhast.java +@@ -348,6 +348,8 @@ + + EntityLargeFireball entitylargefireball = new EntityLargeFireball(world, this.ghast, d2, d3, d4, this.ghast.getExplosionPower()); + ++ // CraftBukkit - set bukkitYield when setting explosionpower ++ entitylargefireball.bukkitYield = entitylargefireball.explosionPower = this.ghast.getExplosionPower(); + entitylargefireball.setPos(this.ghast.getX() + vec3d.x * 4.0D, this.ghast.getY(0.5D) + 0.5D, entitylargefireball.getZ() + vec3d.z * 4.0D); + world.addFreshEntity(entitylargefireball); + this.chargeTime = -40; |