Fix incorrect effect duration - Fixes BUKKIT-3983

'duration' is the duration remaining in ticks for the effect. 'duration_temp' is the time in seconds.

Associated JIRA ticket:
https://bukkit.atlassian.net/browse/BUKKIT-3983