mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 18:27:41 +01:00
b3a8254758
By: md_5 <git@md-5.net>
12 lines
744 B
Diff
12 lines
744 B
Diff
--- a/net/minecraft/world/entity/monster/EntityGhast.java
|
|
+++ b/net/minecraft/world/entity/monster/EntityGhast.java
|
|
@@ -318,6 +318,8 @@
|
|
|
|
EntityLargeFireball entitylargefireball = new EntityLargeFireball(world, this.ghast, d2, d3, d4, this.ghast.getPower());
|
|
|
|
+ // CraftBukkit - set bukkitYield when setting explosionpower
|
|
+ entitylargefireball.bukkitYield = entitylargefireball.explosionPower = this.ghast.getPower();
|
|
entitylargefireball.setPosition(this.ghast.locX() + vec3d.x * 4.0D, this.ghast.e(0.5D) + 0.5D, entitylargefireball.locZ() + vec3d.z * 4.0D);
|
|
world.addEntity(entitylargefireball);
|
|
this.chargeTime = -40;
|