Add PADDY function for irrigation event
Fix the wrong handling for AUTO_REPLICATE_EVENTS function