mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-18 20:41:37 +02:00
Tidy chat.
This commit is contained in:
@@ -255,6 +255,7 @@ public class User extends UserBase implements IUser
|
||||
if (settings.getData().getCommands().isDisabled("nick") || nick == null || nick.isEmpty() || nick.equals(getName()))
|
||||
{
|
||||
displayname = displayname.replace("{NAME}", getName());
|
||||
displayname = displayname.replace("{NICKNAMEPREFIX}", "");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@@ -35,7 +35,6 @@ public class EssentialsChat extends JavaPlugin
|
||||
|
||||
final Map<PlayerChatEvent, ChatStore> chatStore = new HashMap<PlayerChatEvent, ChatStore>();
|
||||
|
||||
|
||||
final EssentialsChatPlayerListenerLowest playerListenerLowest = new EssentialsChatPlayerListenerLowest(getServer(), ess, chatStore);
|
||||
final EssentialsChatPlayerListenerNormal playerListenerNormal = new EssentialsChatPlayerListenerNormal(getServer(), ess, chatStore);
|
||||
final EssentialsChatPlayerListenerHighest playerListenerHighest = new EssentialsChatPlayerListenerHighest(getServer(), ess, chatStore);
|
||||
@@ -45,8 +44,6 @@ public class EssentialsChat extends JavaPlugin
|
||||
|
||||
final EssentialsLocalChatEventListener localChatListener = new EssentialsLocalChatEventListener(getServer(), ess);
|
||||
pluginManager.registerEvents(localChatListener, this);
|
||||
|
||||
LOGGER.info(_("loadinfo", this.getDescription().getName(), this.getDescription().getVersion(), "essentials team"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user