diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-06-03 19:16:56 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-06-03 19:27:18 -0400 |
commit | 842a6d94916296912aba934b2b23d59244ea463b (patch) | |
tree | 20b92c24d2887296a3506c62233534a0e459c426 /colormachine | |
parent | df2f0076c553c42c5ef4d2d2fbaff58b0ef8e4fd (diff) | |
download | dreambuilder_modpack-842a6d94916296912aba934b2b23d59244ea463b.tar dreambuilder_modpack-842a6d94916296912aba934b2b23d59244ea463b.tar.gz dreambuilder_modpack-842a6d94916296912aba934b2b23d59244ea463b.tar.bz2 dreambuilder_modpack-842a6d94916296912aba934b2b23d59244ea463b.tar.xz dreambuilder_modpack-842a6d94916296912aba934b2b23d59244ea463b.zip |
update castle, colormachine, moreblocks, pipeworks, tpr, and digilines
Diffstat (limited to 'colormachine')
-rw-r--r-- | colormachine/init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/colormachine/init.lua b/colormachine/init.lua index 912be13..dceff54 100644 --- a/colormachine/init.lua +++ b/colormachine/init.lua @@ -1139,6 +1139,9 @@ colormachine.blocktype_menu = function( meta, new_color, page ) local per_line = 13; local anz_lines = 3; local per_page = anz_lines * per_line; + if( not( page )) then + page = 1; + end local start_at_offset = per_page * page; new_color = colormachine.decode_color_name( meta, new_color ); |