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