From cd4f8fc793edeec9a684f5e373dd558ab16bb862 Mon Sep 17 00:00:00 2001 From: Trever Fischer Date: Mon, 27 Feb 2012 19:17:06 -0500 Subject: [PATCH] Listen for player joins for MOTD --- src/main/java/us/camin/Plugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/us/camin/Plugin.java b/src/main/java/us/camin/Plugin.java index 37fcd42..c4e285f 100644 --- a/src/main/java/us/camin/Plugin.java +++ b/src/main/java/us/camin/Plugin.java @@ -44,5 +44,6 @@ public class Plugin extends JavaPlugin { String url = conf.getString("url"); m_listener.setURL(url); pm.registerEvent(Event.Type.PLAYER_LOGIN, m_listener, Event.Priority.Normal, this); + pm.registerEvent(Event.Type.PLAYER_JOIN, m_listener, Event.Priority.Normal, this); } }