maxuser0 / minescript

Python scripting for Minecraft
GNU General Public License v3.0
33 stars 3 forks source link

minescript.py - log function return missing #19

Open Squizzy opened 3 months ago

Squizzy commented 3 months ago

in minescript.py: def log(message: str) -> bool:

  if not message:
    return
  CallScriptFunction("log", message)

return is not implemented correctly.

possible correction: if not message: return False else CallScriptFunction("log", message) return True