mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 19:01:35 +00:00
Use player#openBank() over BankUtils#openBank(Player).
This commit is contained in:
1 parent
52eb84930d
commit
00627e0f48
1 file changed
+1
-3
@@ -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