ChorusLimiter: reset player after eating chorus
This commit is contained in:
parent
755a0b81aa
commit
8c454aa63e
@ -21,10 +21,11 @@ public class ChorusLimiter extends Feature {
|
||||
|
||||
long left = chorusCooldown.timeLeftSeconds(e.getPlayer());
|
||||
if (left > 0) {
|
||||
BountifulAPI.sendActionBar(e.getPlayer(), ChatColor.RED + "Musis pockat jeste " + left + " sekund pro pouziti Chrois Fruitu!");
|
||||
BountifulAPI.sendActionBar(e.getPlayer(), ChatColor.RED + "Musis pockat jeste " + left + " sekund pro pouziti Chorus Fruitu!");
|
||||
e.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
chorusCooldown.resetPlayer(e.getPlayer());
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user