Implement SpectralArrow#getGlowingTicks and SpectralArrow#setGlowingTicks(int)

This commit is contained in:
Matthew authored and md_5 committed 2016-03-18 14:30:14 +11:00
1 parent f332350969
commit f09f7d8754
2 files changed
+21

No files matched your search

@@ -25,4 +25,14 @@ public class CraftSpectralArrow extends CraftArrow implements SpectralArrow {
public EntityType getType() {
return EntityType.SPECTRAL_ARROW;
}
@Override
public int getGlowingTicks() {
return getHandle().f; // PAIL: Rename glowingDuration
}
@Override
public void setGlowingTicks(int duration) {
getHandle().f = duration;
}
}