Skip to content

SignClickEvent #4

Description

@LiamDev06

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions