Problem/Bug Unresponsive Code ??

Discussion in 'Plugin Help/Development/Requests' started by Visur, Aug 3, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    Visur

    Why is this code unresponsive? Thanks for the help!

    Code:
              @EventHandler
              public void onJoin(PlayerJoinEvent e)
              {
                final Player p = e.getPlayer();
                p.sendMessage("hi);
                getLogger().info("lol");
            }
        }
    No errors, nothing. Yes the plugin.yml is working correctly!
     
  2. Online

    timtower Moderator Moderator

    @Visur Did you register the event in the onEnable ?
     
  3. Offline

    Visur

    Thanks, I totally forgot!
     
Thread Status:
Not open for further replies.

Share This Page