[Bleeding] Implement setCharged and getCharged for WitherSkull. Addresses BUKKIT-3060

Dieser Commit ist enthalten in:
t00thpick1 2014-01-21 22:50:15 -05:00 committet von Nate Mortensen
Ursprung 8a5ad89a68
Commit 1fa4b69bd8

Datei anzeigen

@ -10,6 +10,16 @@ public class CraftWitherSkull extends CraftFireball implements WitherSkull {
super(server, entity);
}
@Override
public void setCharged(boolean charged) {
getHandle().a(charged);
}
@Override
public boolean isCharged() {
return getHandle().f();
}
@Override
public EntityWitherSkull getHandle() {
return (EntityWitherSkull) entity;