#######################################################################################################################* *------------------------------------------------------Custom blocks------------------------------------------------------* *#########################################################################################################################*/
| 1823 | *------------------------------------------------------Custom blocks------------------------------------------------------* |
| 1824 | *#########################################################################################################################*/ |
| 1825 | static void BlockDefs_OnBlocksLightPropertyUpdated(BlockID block, cc_bool oldProp) { |
| 1826 | if (!World.Loaded) return; |
| 1827 | /* Need to refresh lighting when a block's light blocking state changes */ |
| 1828 | if (Blocks.BlocksLight[block] != oldProp) Lighting.Refresh(); |
| 1829 | } |
| 1830 | |
| 1831 | static void BlockDefs_OnBrightnessPropertyUpdated(BlockID block, cc_uint8 oldProp) { |
| 1832 | if (!World.Loaded) return; |
no outgoing calls
no test coverage detected