         return .accept
     }
 
-    func areaEdit(context: CommandContext) -> CommandAction {
+    func areaBuild(context: CommandContext) -> CommandAction {
+        guard let player = context.creature as? Player else { return .next }
+
         guard let currentRoom = context.creature.room else {
             context.send("You are not standing in any area.")
             return .accept

            room = defaultRoom
        }

        context.creature.room = room

        context.send("Relocated to \(Link(room: currentRoom)) (editing mode)")
        context.creature.look()
        return .accept
    }

class AdminCommands {
    func register(with router: CommandRouter) {
        router["area list"] = areaList
        router["area build"] = areaBuild
        router["area edit"] = areaEdit
        router["area save"] = areaSave
        router["area"] = area
