mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 11:17:19 +00:00
Fix incorrect parenthesis placement in teleport.rb.
This commit is contained in:
1 parent
38db7467e5
commit
107f97c226
1 file changed
+1
-1
@@ -19,5 +19,5 @@ on :command, :tele, RIGHTS_ADMIN do |player, command|
|
||||
y = args[1].to_i
|
||||
z = args.length == 3 ? args[2].to_i : player.position.height
|
||||
|
||||
player.teleport(Position.new(x, y, z) if (0..4).include?(z))
|
||||
player.teleport(Position.new(x, y, z)) if (0..4).include?(z)
|
||||
end
|
||||
Reference in new issue
Block a user