Пример #1
0
 @Override
 public void setMessage(Player player, String message, float percent) {
   BossBarAPI.setMessage(player, message);
   BossBarAPI.setHealth(player, percent);
 }
Пример #2
0
 @Override
 public boolean hasBar(Player player) {
   return BossBarAPI.hasBar(player);
 }
Пример #3
0
 @Override
 public void setMessage(Player player, String message, int timeout) {
   BossBarAPI.setMessage(player, message, 100, timeout);
 }
Пример #4
0
 @Override
 public void removeBar(Player player) {
   BossBarAPI.removeBar(player);
 }