1
0
Fork 0

Fix code caching errors, and remove unused variables from init.

This commit is contained in:
Michieal 2023-01-01 23:07:20 -05:00
parent 87327abfb9
commit 23b62c296a
3 changed files with 6 additions and 7 deletions

View File

@ -14,9 +14,9 @@ local node_sound = mcl_sounds.node_sound_wood_defaults()
local DOUBLE_DROP_CHANCE = 8 local DOUBLE_DROP_CHANCE = 8
local DEBUG = false local DEBUG = false
local strlen = string.len() local strlen = string.len
local substr = string.sub() local substr = string.sub
local rand = math.random() local rand = math.random
-- basic bamboo nodes. -- basic bamboo nodes.
local bamboo_def = { local bamboo_def = {

View File

@ -9,9 +9,9 @@ local S = minetest.get_translator(modname)
local bamboo = "mcl_bamboo:bamboo" local bamboo = "mcl_bamboo:bamboo"
local DEBUG = false local DEBUG = false
local strlen = string.len() local strlen = string.len
local substr = string.sub() local substr = string.sub
local rand = math.random() 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 --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 = { mcl_bamboo.bamboo_dirt_nodes = {

View File

@ -7,7 +7,6 @@
-- LOCALS -- LOCALS
local modname = minetest.get_current_modname() local modname = minetest.get_current_modname()
local S = minetest.get_translator(modname)
local bamboo = "mcl_bamboo:bamboo" local bamboo = "mcl_bamboo:bamboo"
mcl_bamboo = {} mcl_bamboo = {}