mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-11 17:15:07 +02:00
Random Cleanup
This commit is contained in:
@@ -80,7 +80,6 @@ public class EssentialsLocalChatEvent extends Event implements Cancellable
|
||||
ex.fillInStackTrace();
|
||||
throw ex;
|
||||
}
|
||||
|
||||
this.format = format;
|
||||
}
|
||||
|
||||
|
@@ -28,7 +28,6 @@ public class EssentialsLocalChatEventListener implements Listener
|
||||
@EventHandler(priority = EventPriority.HIGHEST)
|
||||
public void onLocalChat(final EssentialsLocalChatEvent event)
|
||||
{
|
||||
|
||||
final Player sender = event.getPlayer();
|
||||
final Location loc = sender.getLocation();
|
||||
final World world = loc.getWorld();
|
||||
|
@@ -28,7 +28,6 @@ public class EssentialsChatPlayerListenerHighest extends EssentialsChatPlayer
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
chargeChat(event, chatStore);
|
||||
}
|
||||
}
|
||||
|
@@ -28,11 +28,9 @@ public class EssentialsChatPlayerListenerLowest extends EssentialsChatPlayer
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
final IUser user = ess.getUser(event.getPlayer());
|
||||
final ChatStore chatStore = new ChatStore(ess, user, getChatType(event.getMessage()));
|
||||
setChatStore(event, chatStore);
|
||||
|
||||
formatChat(event, chatStore);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user