2016-12-27 20:06:14 +00:00
|
|
|
From bd017a4c0713a165504663f7b82f701eb43accda Mon Sep 17 00:00:00 2001
|
2016-12-20 20:56:41 +00:00
|
|
|
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
|
2016-12-27 20:06:14 +00:00
|
|
|
index 083e60fa..528ed6c9 100644
|
2016-12-20 20:56:41 +00:00
|
|
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
2016-12-27 20:06:14 +00:00
|
|
|
@@ -392,6 +392,8 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
2016-12-20 20:56:41 +00:00
|
|
|
public void sendMap(MapView map);
|
|
|
|
|
|
|
|
// Paper start
|
2016-12-27 20:06:14 +00:00
|
|
|
+ public void sendActionBar(String message);
|
|
|
|
+ public void sendActionBar(char alternateChar, String message);
|
2016-12-20 20:56:41 +00:00
|
|
|
/**
|
|
|
|
* Sends the component to the player
|
|
|
|
*
|
|
|
|
--
|
2016-12-27 20:06:14 +00:00
|
|
|
2.11.0
|
2016-12-20 20:56:41 +00:00
|
|
|
|