mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Implement SpectralArrow#getGlowingTicks and SpectralArrow#setGlowingTicks(int)
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user