From a5f3f930484e0f65e406a60a9c4b33b0dd46bc40 Mon Sep 17 00:00:00 2001 From: enosich Date: Thu, 28 Apr 2022 18:13:58 -0400 Subject: [PATCH] Make ::setvarbit take the first and second args instead of first and third --- .../main/kotlin/rs09/game/system/command/sets/MiscCommandSet.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/src/main/kotlin/rs09/game/system/command/sets/MiscCommandSet.kt b/Server/src/main/kotlin/rs09/game/system/command/sets/MiscCommandSet.kt index 930b3e66b..05b1790d7 100644 --- a/Server/src/main/kotlin/rs09/game/system/command/sets/MiscCommandSet.kt +++ b/Server/src/main/kotlin/rs09/game/system/command/sets/MiscCommandSet.kt @@ -421,7 +421,7 @@ class MiscCommandSet : CommandSet(Privilege.ADMIN){ reject(player,"Usage: ::setvarbit varbit value") } val index = args[1].toIntOrNull() - val value = args[3].toIntOrNull() + val value = args[2].toIntOrNull() if(index == null || value == null){ reject(player,"Usage ::setvarbit index offset value")