Original setter for player.spectator was using lua_toboolean, which allows conversion from any other type (such as numbers). Meanwhile setter in Saturn was using luaL_checkboolean, which throws an error when argument is not boolean. Weird that some parts of code use checkboolean, and some toboolean, but oh well
Original setter for `player.spectator` was using `lua_toboolean`, which allows conversion from any other type (such as numbers). Meanwhile setter in Saturn was using `luaL_checkboolean`, which throws an error when argument is not boolean. Weird that some parts of code use checkboolean, and some toboolean, but oh well
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Original setter for
player.spectatorwas usinglua_toboolean, which allows conversion from any other type (such as numbers). Meanwhile setter in Saturn was usingluaL_checkboolean, which throws an error when argument is not boolean. Weird that some parts of code use checkboolean, and some toboolean, but oh well