Skip to content

Commit e24a261

Browse files
committed
Fix
1 parent 43bc24a commit e24a261

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • src/main/kotlin/com/nekiplay/hypixelcry/features/lua

src/main/kotlin/com/nekiplay/hypixelcry/features/lua/LuaManager.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ class LuaManager() {
388388
addAll(clientTickCallbacks)
389389
addAll(renderWorldCallbacks)
390390
addAll(keyEventCallbacks)
391+
addAll(messageEventCallbacks)
391392
}
392393
scriptCallbacks[scriptName] = scriptCallbacksList
393394

@@ -402,6 +403,7 @@ class LuaManager() {
402403
clientTickCallbacks.removeAll(callbacksToRemove)
403404
renderWorldCallbacks.removeAll(callbacksToRemove)
404405
keyEventCallbacks.removeAll(callbacksToRemove)
406+
messageEventCallbacks.removeAll(callbacksToRemove)
405407
}
406408

407409
// Clean up dependencies

0 commit comments

Comments
 (0)