mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-07 00:38:46 +00:00
Fix undefined method error.
This commit is contained in:
@@ -77,6 +77,6 @@ def update_friends(player, world=0)
|
|||||||
while iterator.has_next
|
while iterator.has_next
|
||||||
other = iterator.next
|
other = iterator.next
|
||||||
next if other == player
|
next if other == player
|
||||||
other.send(SendFriendEvent.new(username, world)) if (player.friends_with(other.username) || player.private_chat_privacy == PrivacyState::ON)
|
other.send(SendFriendEvent.new(username, world)) if (player.friends_with(other.username) || player.friend_privacy == PrivacyState::ON)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
Reference in New Issue
Block a user