mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-09 01:47:54 +01:00
Add FireworkMeta#getFlightDuration
This commit is contained in:
parent
87b7205690
commit
da3a8b17b2
@ -98,6 +98,14 @@ public class FireworkMeta extends ItemMeta {
|
||||
this.flightDuration = flightDuration;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the flight duration of this firework
|
||||
* @return the flight duration of this firework
|
||||
*/
|
||||
public byte getFlightDuration() {
|
||||
return flightDuration;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user