Fix undefined method error.

This commit is contained in:
Major-
2014-02-13 17:28:49 +00:00
parent 4f316c08b4
commit e3a4cc92d8
+1 -1
View File
@@ -77,6 +77,6 @@ def update_friends(player, world=0)
while iterator.has_next
other = iterator.next
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