mirror of
https://github.com/APercy/airutils.git
synced 2025-03-22 19:02:20 +00:00
Merge pull request #7 from MoNTE48/patch1
Fix 'Unable to register same mod storage twice' error
This commit is contained in:
commit
e70246f1cb
2 changed files with 28 additions and 26 deletions
6
init.lua
6
init.lua
|
@ -1,8 +1,10 @@
|
|||
-- Minetest 5.4.1 : airutils
|
||||
|
||||
local storage = minetest.get_mod_storage()
|
||||
airutils = {
|
||||
storage = minetest.get_mod_storage()
|
||||
}
|
||||
|
||||
airutils = {}
|
||||
local storage = airutils.storage
|
||||
|
||||
airutils.colors ={
|
||||
black='#2b2b2b',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
local storage = minetest.get_mod_storage()
|
||||
local storage = airutils.storage
|
||||
airutils.modname = minetest.get_current_modname()
|
||||
|
||||
--function to format formspec for mineclone. In case of minetest, just returns an empty string
|
||||
|
|
Loading…
Add table
Reference in a new issue