From bfa0439516eb7f2938c2658384f3085cb1d13b4a Mon Sep 17 00:00:00 2001 From: philliam Date: Sun, 27 Jun 2021 10:31:38 -0400 Subject: [PATCH] Removed unnecessary refreshes in bankAll function --- Server/src/main/kotlin/rs09/game/ai/general/ScriptAPI.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/Server/src/main/kotlin/rs09/game/ai/general/ScriptAPI.kt b/Server/src/main/kotlin/rs09/game/ai/general/ScriptAPI.kt index d5306bb55..18226073b 100644 --- a/Server/src/main/kotlin/rs09/game/ai/general/ScriptAPI.kt +++ b/Server/src/main/kotlin/rs09/game/ai/general/ScriptAPI.kt @@ -563,8 +563,6 @@ class ScriptAPI(private val bot: Player) { bot.inventory.remove(item) bot.bank.add(item) - bot.bank.refresh() - bot.inventory.refresh() } return true }