mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-07 00:38:46 +00:00
fixes issue #143 - ::mass command not using the correct arguments to spawn npcs
This commit is contained in:
@@ -54,7 +54,7 @@ on :command, :mass, RIGHTS_ADMIN do |player, command|
|
|||||||
|
|
||||||
(min_x..max_x).each do |x|
|
(min_x..max_x).each do |x|
|
||||||
(min_y..max_y).each do |y|
|
(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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user