This commit is contained in:
J.T. McQuigg
2022-06-08 18:30:59 -04:00
parent de86b8a57a
commit 33c48f480c
7 changed files with 3 additions and 12 deletions
@@ -207,9 +207,7 @@ public class SpigotMain extends JavaPlugin implements PluginMessageListener,List
@EventHandler
public void onJoin(PlayerJoinEvent e) {
if(hasProxy) return;
Bukkit.getScheduler().runTask(this, () -> {
sendMessage(e.getPlayer(), "ack", "");
});
Bukkit.getScheduler().runTask(this, () -> sendMessage(e.getPlayer(), "ack", ""));
}
@EventHandler(priority = EventPriority.HIGH)
@@ -8,7 +8,7 @@ import java.lang.reflect.Method;
/**
* A cross-version actionbar class
* @author Based on ActionBarAPI from https://github.com/ConnorLinfoot
* @author Based on ActionBarAPI from <a href="https://github.com/ConnorLinfoot">...</a>
*
*/
public class ActionBar {