fixes issue #143 - ::mass command not using the correct arguments to spawn npcs

This commit is contained in:
thispixel
2016-01-31 16:28:20 +00:00
parent 420bda9b75
commit f8db197c13
+1 -1
View File
@@ -54,7 +54,7 @@ on :command, :mass, RIGHTS_ADMIN do |player, command|
(min_x..max_x).each do |x|
(min_y..max_y).each do |y|
$world.register(Npc.new(id, Position.new(x, y, z)))
$world.register(Npc.new($world, id, Position.new(x, y, z)))
end
end