mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 16:49:11 +00:00
Use player#openBank() over BankUtils#openBank(Player).
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
require 'java'
|
||||
|
||||
java_import 'org.apollo.game.model.inter.bank.BankUtils'
|
||||
|
||||
# Opens the player's bank.
|
||||
on :command, :bank, RIGHTS_ADMIN do |player, command|
|
||||
BankUtils.open_bank(player)
|
||||
player.open_bank
|
||||
end
|
||||
Reference in New Issue
Block a user