Fixed combat movement regression that occurred when fighting large NPCs
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user