From 20bb420916d5cc40a3ba4a5dd329b1b5969cf749 Mon Sep 17 00:00:00 2001 From: Gary Tierney Date: Tue, 4 Sep 2018 02:40:44 +0100 Subject: [PATCH] Fix typo in skill command tests --- game/plugin/cmd/test/SkillCommandTests.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/plugin/cmd/test/SkillCommandTests.kt b/game/plugin/cmd/test/SkillCommandTests.kt index 3dd28af5..53f7f312 100644 --- a/game/plugin/cmd/test/SkillCommandTests.kt +++ b/game/plugin/cmd/test/SkillCommandTests.kt @@ -24,7 +24,7 @@ class SkillCommandTests { world.commandDispatcher.dispatch(player, Command("max", emptyArray())) for (stat in 0 until Skill.RUNECRAFT) { - assertEquals(99, player.skillSet.getCurrentLevel(99)) + assertEquals(99, player.skillSet.getCurrentLevel(stat)) } } } \ No newline at end of file