Fixed combat movement regression that occurred when fighting large NPCs

This commit is contained in:
Ceikry
2023-08-11 01:30:58 +00:00
committed by Ryan
parent 6a3e91f13c
commit 98a5b95407
5 changed files with 10 additions and 14 deletions
@@ -9,6 +9,7 @@ import core.game.interaction.IntType
import core.game.interaction.InteractionListeners
class ListenerTests : InteractionListener {
init {TestUtils.preTestSetup()}
@Test fun doubleDefinedListenerShouldThrowIllegalStateException() {
on(0, IntType.ITEM, "touch") { _, _ -> return@on true}
Assertions.assertThrows(IllegalStateException::class.java) {