mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2024-12-24 17:40:19 +01:00
turn debug on, get rid of a redundant variable
This commit is contained in:
parent
077c985388
commit
1f6695189b
@ -38,7 +38,7 @@ else
|
||||
S = function ( s ) return s end
|
||||
end
|
||||
|
||||
local DEBUG = false --... except if you want to spam the console with debugging info :-)
|
||||
local DEBUG = true --... except if you want to spam the console with debugging info :-)
|
||||
|
||||
function plantslib:dbg(msg)
|
||||
if DEBUG then
|
||||
@ -373,7 +373,6 @@ function plantslib:generate_block_no_aircheck(dtime)
|
||||
|
||||
else
|
||||
if plantslib.actioncount_no_aircheck.blockhash <= #plantslib.actionslist_no_aircheck then
|
||||
local action = plantslib.actioncount_no_aircheck.blockhash
|
||||
plantslib:populate_surfaces(
|
||||
plantslib.actionslist_no_aircheck[plantslib.actioncount_no_aircheck.blockhash][1],
|
||||
plantslib.actionslist_no_aircheck[plantslib.actioncount_no_aircheck.blockhash][2],
|
||||
|
Loading…
Reference in New Issue
Block a user