Delete global alias "smodel"
This commit is contained in:
parent
43881650fe
commit
75b099d70d
@ -67,8 +67,6 @@ simple_models_slope_1x1x1:
|
|||||||
|
|
||||||
#### Tables
|
#### Tables
|
||||||
|
|
||||||
`smodel` is an alias of `simple_models`.
|
|
||||||
|
|
||||||
There are some tables for accessing pre-defined attributes:
|
There are some tables for accessing pre-defined attributes:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
5
init.lua
5
init.lua
@ -1,11 +1,6 @@
|
|||||||
|
|
||||||
simple_models = {}
|
simple_models = {}
|
||||||
|
|
||||||
if not core.global_exists("smodel") then
|
|
||||||
smodel = simple_models
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
local modpath = core.get_modpath(core.get_current_modname())
|
local modpath = core.get_modpath(core.get_current_modname())
|
||||||
|
|
||||||
local scripts = {
|
local scripts = {
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
|
|
||||||
|
local smodel = simple_models
|
||||||
|
|
||||||
|
|
||||||
-- cubes
|
-- cubes
|
||||||
|
|
||||||
core.register_node("simple_models:node_tall", {
|
core.register_node("simple_models:node_tall", {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user