ActionBarUtils.java 523 B

1234567891011121314151617181920
  1. package de.Linus122.TimeIsMoney.tools;
  2. import org.bukkit.entity.Player;
  3. /**
  4. * Interface that allows sending of actionbar messages for different versions of Spigot.
  5. *
  6. * @author Linus122
  7. * @since 1.9.6.1
  8. */
  9. @FunctionalInterface
  10. public interface ActionBarUtils {
  11. /**
  12. * Sends an actionbar message to the specified player.
  13. *
  14. * @param p The player to send the actionbar message to.
  15. * @param message The message the actionbar should give to the player.
  16. */
  17. void sendActionBarMessage(Player p, String message);
  18. }