bugfix: getFinalValue() is for new version of bukkit