mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 03:07:19 +00:00
commit
a21a1acb15
1 file changed
+1
-1
@@ -40,7 +40,7 @@ end
|
||||
|
||||
# Hides a context menu action for the specified player
|
||||
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
|
||||
|
||||
# Monkey-patch Player to provide action utility methods.
|
||||
|
||||
Reference in new issue
Block a user