Added sha256 function to lua controller (#690)

This commit is contained in:
Darin 2024-12-07 14:53:20 +00:00 committed by GitHub
parent 5c82089146
commit d547f5fe43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -509,6 +509,7 @@ local function create_environment(pos, mem, event, itbl, send_warning)
print = safe_print,
interrupt = get_interrupt(pos, itbl, send_warning),
digiline_send = get_digiline_send(pos, itbl, send_warning),
sha256sum = minetest.sha256,
string = {
byte = string.byte,
char = string.char,