mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-04 16:49:11 +00:00
Clean-up code.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
require 'java'
|
||||
|
||||
java_import 'org.apollo.game.model.settings.PrivacyState'
|
||||
java_import 'org.apollo.game.event.impl.SendFriendEvent'
|
||||
|
||||
on :event, :privacy_option do |ctx, player, event|
|
||||
player.chat_privacy = event.chat_privacy
|
||||
|
||||
Reference in New Issue
Block a user