Added booster type to the templates
This commit is contained in:
parent
bbf30b5da3
commit
fe03a0ed85
|
|
@ -61,6 +61,7 @@ public class BoosterCommand {
|
|||
for (Booster booster : VelocityBoosterStorage.getVelocityBoosterStorage().getBoosters().values()) {
|
||||
long expiryTime = new Date().getTime() + booster.getDuration();
|
||||
ArrayList<Template> templates = new ArrayList<>(List.of(
|
||||
Template.of("type", booster.getType().getBoosterName()),
|
||||
Template.of("activator", booster.getActivator()),
|
||||
Template.of("start_time", DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.SHORT).format(booster.getStartingTime())),
|
||||
Template.of("duration", String.valueOf(booster.getDuration())),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user