mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 11:17:19 +00:00
commit
8e7af9b8de
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user