mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-19 13:38:44 +01:00
[Bleeding] Implement setCharged and getCharged for WitherSkull. Addresses BUKKIT-3060
By: t00thpick1 <t00thpick1dirko@gmail.com>
This commit is contained in:
parent
115d946d7b
commit
9b8c0edb02
1 changed files with 10 additions and 0 deletions
|
@ -10,6 +10,16 @@ public class CraftWitherSkull extends CraftFireball implements WitherSkull {
|
||||||
super(server, entity);
|
super(server, entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setCharged(boolean charged) {
|
||||||
|
getHandle().a(charged);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isCharged() {
|
||||||
|
return getHandle().f();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public EntityWitherSkull getHandle() {
|
public EntityWitherSkull getHandle() {
|
||||||
return (EntityWitherSkull) entity;
|
return (EntityWitherSkull) entity;
|
||||||
|
|
Loading…
Add table
Reference in a new issue