Make ::setvarbit take the first and second args instead of first and third

This commit is contained in:
enosich
2022-04-28 18:13:58 -04:00
committed by Ryan
parent b06c69136f
commit a5f3f93048
@@ -421,7 +421,7 @@ class MiscCommandSet : CommandSet(Privilege.ADMIN){
reject(player,"Usage: ::setvarbit varbit value") reject(player,"Usage: ::setvarbit varbit value")
} }
val index = args[1].toIntOrNull() val index = args[1].toIntOrNull()
val value = args[3].toIntOrNull() val value = args[2].toIntOrNull()
if(index == null || value == null){ if(index == null || value == null){
reject(player,"Usage ::setvarbit index offset value") reject(player,"Usage ::setvarbit index offset value")