mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:41:29 +01:00
Update Fireballs to account for ExplosionPower. Fixes BUKKIT-3460
Adds BUKKIT-3516 By: feildmaster <admin@feildmaster.com>
This commit is contained in:
parent
78e16bd8de
commit
552cff7d15
@ -10,6 +10,12 @@ public class CraftLargeFireball extends CraftFireball implements LargeFireball {
|
||||
super(server, entity);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setYield(float yield) {
|
||||
super.setYield(yield);
|
||||
getHandle().e = (int) yield;
|
||||
}
|
||||
|
||||
@Override
|
||||
public EntityLargeFireball getHandle() {
|
||||
return (EntityLargeFireball) entity;
|
||||
|
Loading…
Reference in New Issue
Block a user