1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved must be of the type boolean, none returned

Discussion in 'Development' started by Levi, Oct 8, 2017.

  1. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    what does this mean?
    Code:
     [Server thread/CRITICAL]: Unhandled exception executing command 'quit' in quit: Return value of hi\Main::onCommand() must be of the type boolean, none returned
    [13:54:52] [Server thread/CRITICAL]: TypeError: "Return value of hi\Main::onCommand() must be of the type boolean, none returned" (EXCEPTION) in "hi/src/hi/Main" at line 53
    
     
  2. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    well i just add a return true; and it stopped giving me error.
     
    SkySeven likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.