mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 16:39:33 +01:00
Fix code caching errors, and remove unused variables from init.
This commit is contained in:
parent
87327abfb9
commit
23b62c296a
3 changed files with 6 additions and 7 deletions
|
@ -14,9 +14,9 @@ local node_sound = mcl_sounds.node_sound_wood_defaults()
|
|||
local DOUBLE_DROP_CHANCE = 8
|
||||
local DEBUG = false
|
||||
|
||||
local strlen = string.len()
|
||||
local substr = string.sub()
|
||||
local rand = math.random()
|
||||
local strlen = string.len
|
||||
local substr = string.sub
|
||||
local rand = math.random
|
||||
|
||||
-- basic bamboo nodes.
|
||||
local bamboo_def = {
|
||||
|
|
|
@ -9,9 +9,9 @@ local S = minetest.get_translator(modname)
|
|||
local bamboo = "mcl_bamboo:bamboo"
|
||||
local DEBUG = false
|
||||
|
||||
local strlen = string.len()
|
||||
local substr = string.sub()
|
||||
local rand = math.random()
|
||||
local strlen = string.len
|
||||
local substr = string.sub
|
||||
local rand = math.random
|
||||
|
||||
--Bamboo can be planted on moss blocks, grass blocks, dirt, coarse dirt, rooted dirt, gravel, mycelium, podzol, sand, red sand, or mud
|
||||
mcl_bamboo.bamboo_dirt_nodes = {
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-- LOCALS
|
||||
local modname = minetest.get_current_modname()
|
||||
local S = minetest.get_translator(modname)
|
||||
local bamboo = "mcl_bamboo:bamboo"
|
||||
|
||||
mcl_bamboo = {}
|
||||
|
|
Loading…
Reference in a new issue