Clean-up code.

This commit is contained in:
Major-
2014-02-14 00:24:55 +00:00
parent b24beddb11
commit 29955af8ca
3 changed files with 24 additions and 15 deletions
+1
View File
@@ -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