Commits

Andrew Godwin  committed 9a99035

Fix load

  • Participants
  • Parent commits 1eb83fd

Comments (0)

Files changed (1)

File myne/plugins/multiworld.py

                 self.client.sendServerMessage("World '%s' booted." % parts[1])
     
     @only_string_command("world name")
-    def commandLoad(self, world_id, params):
+    def commandLoad(self, world_id, params=None):
         "/load worldname - Moves you into world 'worldname'"
         if world_id not in self.client.factory.worlds:
             self.client.sendServerMessage("There's no such world '%s'." % world_id)