mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 03:07:19 +00:00
Fix npc spawning command.
This commit is contained in:
1 parent
888230b768
commit
81a763cd69
1 file changed
+1
-1
@@ -28,7 +28,7 @@ on :command, :spawn, RIGHTS_ADMIN do |player, command|
|
||||
position = Position.new(args[1].to_i, args[2].to_i, height)
|
||||
end
|
||||
|
||||
$world.register(Npc.new(id, position))
|
||||
$world.register(Npc.new($world, id, position))
|
||||
end
|
||||
|
||||
# Mass spawns npcs around the player.
|
||||
|
||||
Reference in new issue
Block a user