[fix] Potential ConcurrentModificationException

Signed-off-by: Dominika <sokolov.dominika@gmail.com>
This commit is contained in:
Dominika 2020-11-29 17:14:01 -05:00
parent 60d1e841a9
commit 80d29cda5f
No known key found for this signature in database
GPG Key ID: B4A5A6DCA70F861F
1 changed files with 0 additions and 1 deletions

View File

@ -56,6 +56,5 @@ object FakePlayer : Module() {
override fun onDisable() {
if (mc.world == null || mc.player == null) return
fakePlayer?.setDead()
mc.world?.removeEntityFromWorld(ENTITY_ID)
}
}