You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My sign click event is not working. I have the sign manager, init() function, then created a new sign gui with the manager and a sign click event. I can open a sign without problem but the event does not register anything, this is my current event:
`SignManager manager = new SignManager(plugin);
manager.init();
SignGUI gui = new SignGUI(manager, event -> new BukkitRunnable(){
@Override
public void run(){
event.getPlayer().sendMessage("welcome");
event.getPlayer().sendMessage(event.getLines()[0]);
}
}.runTaskLater(plugin, 20L));
gui.withLines("", "", "---------------", "Enter search");
gui.open(player);
Activity