aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/src/main/java/kr/syeyoung/dungeonsguide/mod/chat/ChatProcessor.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/chat/ChatProcessor.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/chat/ChatProcessor.java
index b65e64aa..003b5a44 100644
--- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/chat/ChatProcessor.java
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/chat/ChatProcessor.java
@@ -93,16 +93,16 @@ public class ChatProcessor {
logger.info("[CHAT] {}", txt);
int processed = 0;
- int listenened = 0;
+ int listened = 0;
Map<String, Object> context = new HashMap<>();
Iterator<ChatSubscriber> it = chatSubscriberQueue.iterator();
while (it.hasNext()) {
ChatSubscriber chatSubscribed = it.next();
context.put("removed", processed);
- context.put("onceListenered", listenened);
+ context.put("onceListenered", listened);
ChatProcessResult chatProcessResult = chatSubscribed.process(txt, context);
if (chatProcessResult.isRemoveChat()) processed++;
- if (chatProcessResult.isRemoveListener()) listenened++;
+ if (chatProcessResult.isRemoveListener()) listened++;
if (chatProcessResult.isRemoveChat()) chatReceivedEvent.setResult(Event.Result.DENY);
if (chatProcessResult.isRemoveListener()) it.remove();