Fix incorrect parenthesis placement in teleport.rb.

This commit is contained in:
Major-
2014-08-01 16:21:05 +01:00
parent 38db7467e5
commit 107f97c226
+1 -1
View File
@@ -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