mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
Fix code caching errors, and remove unused variables from init.
This commit is contained in:
parent
87327abfb9
commit
23b62c296a
@ -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 = {
|
||||||
|
@ -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 = {
|
||||||
|
@ -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 = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user