From c433b36f2bf89d5573babfef44394f86be27869a Mon Sep 17 00:00:00 2001 From: Aaron Suen Date: Mon, 14 Mar 2022 07:03:44 -0400 Subject: [PATCH] Formatting, add contributor to license --- LICENSE | 1 + mods/nc_api_storebox/init.lua | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index 7ade00e0..65647143 100644 --- a/LICENSE +++ b/LICENSE @@ -17,6 +17,7 @@ Portions Copyright (C)2021 Roland Portions Copyright (C)2022 MisterE Portions Copyright (C)2022 Wuzzy Portions Copyright (C)2022 kuboid +Portions Copyright (C)2022 Giuseppe Bilotta Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/mods/nc_api_storebox/init.lua b/mods/nc_api_storebox/init.lua index b3961fb1..f05b59d8 100644 --- a/mods/nc_api_storebox/init.lua +++ b/mods/nc_api_storebox/init.lua @@ -1,6 +1,6 @@ -- LUALOCALS < --------------------------------------------------------- -local minetest, nodecore - = minetest, nodecore +local ipairs, minetest, nodecore + = ipairs, minetest, nodecore -- LUALOCALS > --------------------------------------------------------- nodecore.amcoremod() @@ -114,7 +114,7 @@ function nodecore.storebox_check_item_fall_out(pos, node, stack) end local storebox_register_on_stack_change, storebox_registered_on_stack_change = - nodecore.mkreg() +nodecore.mkreg() nodecore.storebox_register_on_stack_change = storebox_register_on_stack_change nodecore.storebox_on_stack_change = function(...)