mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
65bc2541a3
By: md_5 <git@md-5.net>
11 lines
789 B
Diff
11 lines
789 B
Diff
--- a/net/minecraft/world/entity/monster/EntityGhast.java
|
|
+++ b/net/minecraft/world/entity/monster/EntityGhast.java
|
|
@@ -331,6 +331,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;
|