mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-06 16:51:37 +00:00
Remove release command.
This commit is contained in:
@@ -2,13 +2,7 @@ require 'java'
|
|||||||
java_import 'org.apollo.game.model.Animation'
|
java_import 'org.apollo.game.model.Animation'
|
||||||
java_import 'org.apollo.game.model.World'
|
java_import 'org.apollo.game.model.World'
|
||||||
|
|
||||||
SERVER_RELEASE = World.world.release_number
|
|
||||||
|
|
||||||
on :command, :hello do |player, command|
|
on :command, :hello do |player, command|
|
||||||
player.play_animation Animation::WAVE
|
player.play_animation Animation::WAVE
|
||||||
player.send_message("Hello, World!")
|
player.send_message("Hello, World!")
|
||||||
end
|
end
|
||||||
|
|
||||||
on :command, :release do |player, command|
|
|
||||||
player.send_message("This server is currently running the #{SERVER_RELEASE} release.")
|
|
||||||
end
|
|
||||||
Reference in New Issue
Block a user