Clean up
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user