Listen for player joins for MOTD

This commit is contained in:
Trever Fischer 2012-02-27 19:17:06 -05:00
parent 3082fb850d
commit cd4f8fc793

View File

@ -44,5 +44,6 @@ public class Plugin extends JavaPlugin {
String url = conf.getString("url"); String url = conf.getString("url");
m_listener.setURL(url); m_listener.setURL(url);
pm.registerEvent(Event.Type.PLAYER_LOGIN, m_listener, Event.Priority.Normal, this); pm.registerEvent(Event.Type.PLAYER_LOGIN, m_listener, Event.Priority.Normal, this);
pm.registerEvent(Event.Type.PLAYER_JOIN, m_listener, Event.Priority.Normal, this);
} }
} }