Fixed double local logging (#2755)

This commit is contained in:
Glare 2020-03-13 03:33:18 -06:00 committed by GitHub
parent 3bb45b80b1
commit 347179373d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,8 +77,6 @@ public class EssentialsChatPlayerListenerNormal extends EssentialsChatPlayer {
final String format = event.getFormat(); final String format = event.getFormat();
event.setFormat(tl("chatTypeLocal").concat(event.getFormat())); event.setFormat(tl("chatTypeLocal").concat(event.getFormat()));
logger.info(tl("localFormat", user.getName(), event.getMessage()));
final Iterator<Player> it = outList.iterator(); final Iterator<Player> it = outList.iterator();
while (it.hasNext()) { while (it.hasNext()) {
final Player onlinePlayer = it.next(); final Player onlinePlayer = it.next();