Implement SpectralArrow#getGlowingTicks and SpectralArrow#setGlowingTicks(int)
By: Matthew <stteg@hotmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user