mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-25 16:50:17 +01:00
fc6f3510a2
Appears colors did not work for Bungee version, as Action Bar is stricter
22 lines
773 B
Diff
22 lines
773 B
Diff
From bd017a4c0713a165504663f7b82f701eb43accda Mon Sep 17 00:00:00 2001
|
|
From: Aikar <aikar@aikar.co>
|
|
Date: Tue, 20 Dec 2016 15:55:55 -0500
|
|
Subject: [PATCH] Add String based Action Bar API
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
|
index 083e60fa..528ed6c9 100644
|
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
|
@@ -392,6 +392,8 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
|
public void sendMap(MapView map);
|
|
|
|
// Paper start
|
|
+ public void sendActionBar(String message);
|
|
+ public void sendActionBar(char alternateChar, String message);
|
|
/**
|
|
* Sends the component to the player
|
|
*
|
|
--
|
|
2.11.0
|
|
|