Prereview code, but with the spaces converted to tabs.
* Cleaned up all of the code, checked to make sure that there were no erraneous debug logging. * To enable debugging, turn it on in the api by changing the following line in item_frames_api.lua: mcl_itemframes.DEBUG = false -- set to true to see debug output. * Made the standard Item Frame and the new Glow Frame use the frames API. Added in backwards compatibility mode. * Made frames pop out items into the world on the old frames' entities when they are a hidden / broken entity. (Part of the backwards compatibility.) * Tested locally. * *Converted the spaces to tabs!* Should be fully functional and ready for review.
This commit is contained in:
parent
76991fcba9
commit
3409c5a220
|
@ -10,7 +10,7 @@ dofile(modpath .. "/item_frames_API.lua")
|
||||||
mcl_itemframes.create_base_definitions()
|
mcl_itemframes.create_base_definitions()
|
||||||
|
|
||||||
-- necessary to maintain compatibility amongst older versions.
|
-- necessary to maintain compatibility amongst older versions.
|
||||||
mcl_itemframes.backwards_compatibility ()
|
mcl_itemframes.backwards_compatibility()
|
||||||
|
|
||||||
-- test for the create custom frame
|
-- test for the create custom frame
|
||||||
mcl_itemframes.create_custom_frame("false", "item_frame", false,
|
mcl_itemframes.create_custom_frame("false", "item_frame", false,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user