mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-05 08:40:08 +00:00
Update action.rb
Fixed the issue https://github.com/apollo-rsps/apollo/issues/113 when you left the wilderness
This commit is contained in:
@@ -40,7 +40,7 @@ end
|
|||||||
|
|
||||||
# Hides a context menu action for the specified player
|
# Hides a context menu action for the specified player
|
||||||
def hide_action(player, action)
|
def hide_action(player, action)
|
||||||
show_action(player, PlayerAction.new(action.slot, action.primary, 'null'))
|
player.send(SetPlayerActionMessage.new('null', action.slot, action.primary))
|
||||||
end
|
end
|
||||||
|
|
||||||
# Monkey-patch Player to provide action utility methods.
|
# Monkey-patch Player to provide action utility methods.
|
||||||
|
|||||||
Reference in New Issue
Block a user