mirror of
https://github.com/essentials/Essentials.git
synced 2025-09-25 21:59:08 +02:00
Implemented Factions hooks for proper chat integration with it (master/dev branch)
This commit is contained in:
@@ -17,6 +17,9 @@ public class EssentialsChat extends JavaPlugin
|
||||
public void onEnable()
|
||||
{
|
||||
final PluginManager pluginManager = getServer().getPluginManager();
|
||||
|
||||
EssentialsChatPlayerListener.checkFactions(pluginManager);
|
||||
|
||||
final EssentialsChatPlayerListener playerListener = new EssentialsChatPlayerListener(getServer());
|
||||
pluginManager.registerEvent(Type.PLAYER_JOIN, playerListener, Priority.Lowest, this);
|
||||
pluginManager.registerEvent(Type.PLAYER_CHAT, playerListener, Priority.Highest, this);
|
||||
|
Reference in New Issue
Block a user